This commit is contained in:
mkm 2023-10-07 17:05:44 +08:00
parent 4b90e78cee
commit 49ff1bed44

View File

@ -99,7 +99,7 @@ class Product extends BaseController
}
$data['update_time'] = date('Y-m-d H:i:s');
$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('添加成功');
}