
根因(已定位到具体代码链路):
- 门店端导入模板没有「购买送积分」列。
crmeb/services/FileService.php中store_goods类型的表头校验(第 1172-1178 行)和列映射(第 1251-1286 行)都不含give_integral,所以门店导入解析出的每行数据天然没有 give_integral 键(平台端goods模板才有)。 - 导入失败时,
app/services/product/product/StoreProductServices.php::productImport()把原始行数据原样json_encode存入eb_import_record_error.original_data。 - 下载错误记录时(你访问的接口),
app/services/other/export/ExportServices.php::importProduct()第 1811 行无条件读取$original_data['give_integral'],触发Undefined array key "give_integral"。
【产品名称】:多门店系统
【产品版本】:v4.1.0
此bug在演示站复刻成功。这个是我遇到的第三个4.1上游的bug了。希望测试能够覆盖全面点😅

