From fc1573288862b9f0a09bdba2d92e6d6a03fd296b Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Wed, 1 Nov 2023 17:07:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/api/store/product/StoreMicro.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/controller/api/store/product/StoreMicro.php b/app/controller/api/store/product/StoreMicro.php index 1c9b5345..3706d71e 100644 --- a/app/controller/api/store/product/StoreMicro.php +++ b/app/controller/api/store/product/StoreMicro.php @@ -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'=>''