更新
This commit is contained in:
parent
0cf526af72
commit
e1a24b347d
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user