|
|
@@ -152,6 +152,7 @@ class Product extends BaseController
|
|
|
// 获取参数
|
|
|
$params = $this->request->params($this->repository::CREATE_PARAMS);
|
|
|
$data = $this->repository->checkParams($params, $this->request->merId(), $id);
|
|
|
+ var_dump($data['is_gift']);die();
|
|
|
// 判断商品是否存在
|
|
|
if (!$this->repository->merExists($this->request->merId(), $id))
|
|
|
return app('json')->fail('数据不存在');
|