正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -80,7 +80,7 @@ class ProductController extends BaseController | @@ -80,7 +80,7 @@ class ProductController extends BaseController | ||
| 80 | */ | 80 | */ |
| 81 | public function productNoPage(Product $product){ | 81 | public function productNoPage(Product $product){ |
| 82 | $this->map['status'] = $product::STATUS_ON; | 82 | $this->map['status'] = $product::STATUS_ON; |
| 83 | - $lists = $product->list($this->map); | 83 | + $lists = $product->list($this->map,'id',['id','title']); |
| 84 | $this->response('success',Code::SUCCESS,$lists); | 84 | $this->response('success',Code::SUCCESS,$lists); |
| 85 | } | 85 | } |
| 86 | 86 |
-
请 注册 或 登录 后发表评论