WIN-2308041133\Administrator 5 months ago
parent
commit
5ecb3483af
1 changed files with 2 additions and 1 deletions
  1. 2 1
      app/controller/merchant/store/product/Product.php

+ 2 - 1
app/controller/merchant/store/product/Product.php

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