WIN-2308041133\Administrator 7 месяцев назад
Родитель
Сommit
20bf2b57e1
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      app/controller/merchant/store/product/Product.php

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

@@ -152,6 +152,7 @@ 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();
         // 判断商品是否存在
         // 判断商品是否存在
         if (!$this->repository->merExists($this->request->merId(), $id))
         if (!$this->repository->merExists($this->request->merId(), $id))
             return app('json')->fail('数据不存在');
             return app('json')->fail('数据不存在');