更新
This commit is contained in:
parent
4b90e78cee
commit
49ff1bed44
@ -99,7 +99,7 @@ class Product extends BaseController
|
|||||||
}
|
}
|
||||||
$data['update_time'] = date('Y-m-d H:i:s');
|
$data['update_time'] = date('Y-m-d H:i:s');
|
||||||
$data['content']=$data['content']?json_encode($data['content']):[];
|
$data['content']=$data['content']?json_encode($data['content']):[];
|
||||||
$this->repository->create($data,$product_type);
|
$this->repository->create($data,$product_type,1);
|
||||||
return app('json')->success('添加成功');
|
return app('json')->success('添加成功');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user