更新
This commit is contained in:
parent
04c91314ee
commit
3d461544f0
@ -144,7 +144,7 @@ class ProductLibrary extends BaseController
|
||||
if(count($arr)>0){
|
||||
$data['slider_image'] =implode(',',$arr);
|
||||
}else{
|
||||
$data['slider_image']='';
|
||||
$data['slider_image']=$data['image'];
|
||||
}
|
||||
$data['images'] = '';
|
||||
$res = Db::name('product_library')->insert($data);
|
||||
|
@ -115,7 +115,7 @@ class CloudWarehouse extends BaseController
|
||||
->withAttr('merchant',function($value,$data){
|
||||
return Db::name('merchant')->where('mer_id',$data['mer_id'])->field('mer_id,mer_name')->find();
|
||||
})
|
||||
->field('product_id,mer_id,store_name,bar_code,price,stock,product_type,image')
|
||||
// ->field('product_id,mer_id,store_name,bar_code,price,stock,product_type,image')
|
||||
->select();
|
||||
return app('json')->success(['count'=>$count,'list'=>$select]);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user