```
feat(shopro_huifu): 添加分账扩展材料上传功能并优化图片处理 - 新增 UploadSplitExtendedMaterials 命令用于上传 F469/F330 等分账补充材料 - 优化 ProbeSplitConfigDeps 命令中扩展材料配置的检查逻辑 - 支持 PDF 文件上传,增加文件大小限制(PDF 5MB,图片 2MB) - 修复 MCC 编码可作为 online_busi_type 备选值的问题 ```
这个提交包含在:
@@ -67,8 +67,21 @@ class ProbeSplitConfigDeps extends Command
|
||||
$output->writeln('');
|
||||
|
||||
$extMat = trim((string) $cfg->get('split_config_extended_material_json', ''));
|
||||
$output->writeln('--- extended_material_list (按编码表可选/必填) ---');
|
||||
$output->writeln('split_config_extended_material_json: ' . ($extMat !== '' ? '已配置' : '(空,若下一报错要求补充材料再填)'));
|
||||
$output->writeln('--- extended_material_list (H5921L 等常需 F469/F330) ---');
|
||||
if ($extMat === '') {
|
||||
$output->writeln('split_config_extended_material_json: (空)');
|
||||
$output->writeln('[FAIL] 酒类分账常见缺 F469 协议 + F330 食品证 → upload-split-ext-materials');
|
||||
} else {
|
||||
$output->writeln('split_config_extended_material_json: 已配置');
|
||||
$decoded = json_decode($extMat, true);
|
||||
if (is_array($decoded)) {
|
||||
$types = array_column($decoded, 'file_type');
|
||||
foreach (['F469', 'F330'] as $need) {
|
||||
$ok = in_array($need, $types, true);
|
||||
$output->writeln(' ' . ($ok ? '[OK]' : '[FAIL]') . ' ' . $need);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$client = new HuifuClient();
|
||||
$basic = $client->queryMerchantBasicdata($main, true);
|
||||
|
||||
在新工单中引用
屏蔽一个用户