处理云仓商品查询的错误

This commit is contained in:
luofei 2023-05-19 14:45:49 +08:00
parent e455df9617
commit b3a4245781

View File

@ -6,7 +6,7 @@ use crmeb\basic\BaseController;
class StoreMicro extends BaseController
{
function seach_bar_code($code='',$name='',$mer_id){
function seach_bar_code($mer_id,$code='',$name=''){
$category_id=Db::name('merchant')->where('mer_id',$mer_id)->value('category_id');
$mer_id=Db::name('merchant')->where('category_id',$category_id)->where('type_id',13)->value('mer_id');
if($code!=''){