This commit is contained in:
mkm 2023-11-01 19:28:14 +08:00
parent 0cf526af72
commit e1a24b347d

View File

@ -29,7 +29,7 @@ class StoreMicro extends BaseController
$ProductLibrary->caiji($code); $ProductLibrary->caiji($code);
$res=Db::name('product_library')->where('bar_code',$code)->where($where)->field($field)->find(); $res=Db::name('product_library')->where('bar_code',$code)->where($where)->field($field)->find();
}catch(Exception $e){ }catch(Exception $e){
return app('json')->fail('编码:'.$code.' '.$e->getMessage()); return app('json')->fail('编码:'.$code.''.$e->getMessage());
} }
} }
$find[]=$res; $find[]=$res;