更新
This commit is contained in:
parent
d0e564533d
commit
50736e3778
@ -98,7 +98,6 @@ class Product extends BaseController
|
||||
$product_type=0;//普通商品
|
||||
}
|
||||
$data['update_time'] = date('Y-m-d H:i:s');
|
||||
$data['content']=$data['content']?json_encode($data['content']):[];
|
||||
$this->repository->create($data,$product_type,1);
|
||||
return app('json')->success('添加成功');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user