commit
2458ca5aa9
@ -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(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user