更新
This commit is contained in:
parent
09cf4e7001
commit
fc15732888
@ -74,9 +74,9 @@ class StoreMicro extends BaseController
|
||||
if ($find) {
|
||||
|
||||
$exist = Db::name('store_product')->where('source_library_id', $id)->where('mer_id', $mer_id)->find();
|
||||
if ($exist) {
|
||||
return app('json')->fail('已经导入过该商品了');
|
||||
}
|
||||
// if ($exist) {
|
||||
// return app('json')->fail('已经导入过该商品了');
|
||||
// }
|
||||
$find['attrValue']=[
|
||||
['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'=>''
|
||||
|
Loading…
x
Reference in New Issue
Block a user