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){