feat: #10000 错误修改

This commit is contained in:
赵世界 2022-11-01 09:39:01 +08:00
parent 6d9fbe57e1
commit 39b1022c93

View File

@ -31,8 +31,8 @@ class Goods
$businessGood['goods_image_list'] = json_encode($businessGood['goods_image_list'], 256);
foreach ($skuList as $sku) {
$sku['spec_list'] = json_encode($sku['spec_list'], 256);
if ((int)$businessGood['quantity_type']) {
$businessGood['is_sync'] = 0;
if ((int)$sku['quantity_type']) {
$sku['is_sync'] = 0;
}
$data = array_merge($businessGood, $sku);
$businessGoodSku = BusinessGoodsSku::firstOrNew(