From e6b97b4b77c0926378aa89919e2422d15cc50b35 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Wed, 19 Apr 2023 17:43:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=94=99=E8=AF=AF3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/api/store/product/StoreMicro.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controller/api/store/product/StoreMicro.php b/app/controller/api/store/product/StoreMicro.php index 0f201cc4..5a903cd1 100644 --- a/app/controller/api/store/product/StoreMicro.php +++ b/app/controller/api/store/product/StoreMicro.php @@ -9,7 +9,7 @@ class StoreMicro extends BaseController function seach_bar_code($code){ $user = $this->request->userInfo(); $mer_id =Db::name('store_service')->where('uid',$user['uid'])->where('status',1)->value('mer_id'); - $find=Db::name('product_attr_value')->where('mer_id',$mer_id)->where('bar_code',$code)->find(); + $find=Db::name('store_product_attr_value')->where('mer_id',$mer_id)->where('bar_code',$code)->find(); if (!$find){ $store_product=Db::name('store_product')->where('product_type',98)->where('bar_code',$code)->find(); if (!$store_product){