更新
This commit is contained in:
parent
3a29502fe7
commit
6930c24b37
@ -487,6 +487,7 @@ class ProductRepository extends BaseRepository
|
||||
'pay_limit' => $data['pay_limit'] ?? 0,
|
||||
'svip_price_type' => $data['svip_price_type'] ?? 0,
|
||||
'source_product_id' => $data['source_product_id'] ?? 0,
|
||||
'source_library_id' => $data['source_library_id'] ?? 0,
|
||||
];
|
||||
$result['bar_code'] = $data['attrValue'][0]['bar_code'] ?? '';
|
||||
if (isset($data['mer_id']))
|
||||
|
@ -81,7 +81,8 @@ class StoreMicro extends BaseController
|
||||
['image'=>$find['image'],'price'=>$price,'cost'=>$find['cost'],'ot_price'=>$find['ot_price'],
|
||||
'svip_price'=>$find['svip_price'],'stock'=>$stock,'bar_code'=>$find['bar_code'],'weight'=>0,'volume'=>0,'detail'=>''
|
||||
]];
|
||||
$find['content'] =$find['images'];
|
||||
$find['content'] =explode(',',$find['images']);
|
||||
$find['slider_image'] =explode(',',$find['slider_image']);
|
||||
$find['is_show'] = 1;
|
||||
$find['mer_id'] = $mer_id;
|
||||
$find['temp_id'] = "";
|
||||
@ -98,8 +99,7 @@ class StoreMicro extends BaseController
|
||||
$find['status'] = 1;
|
||||
$find['mer_status'] = 1;
|
||||
$find['source_product_id'] = 0;
|
||||
$find['source_library_id'] = 0;
|
||||
$find['slider_image'] = $find['slider_image'];
|
||||
$find['source_library_id'] = $find['id'];
|
||||
$find['spec_type'] = 0;
|
||||
$find['delivery_free'] = 0;
|
||||
unset($find['create_time']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user