正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -313,7 +313,7 @@ class KeywordLogic extends BaseLogic | @@ -313,7 +313,7 @@ class KeywordLogic extends BaseLogic | ||
| 313 | $productIdArr = $keywordRelatedModel->selectField(['keyword_id'=>$keyword_id],'product_id'); | 313 | $productIdArr = $keywordRelatedModel->selectField(['keyword_id'=>$keyword_id],'product_id'); |
| 314 | if(!empty($productIdArr)){ | 314 | if(!empty($productIdArr)){ |
| 315 | $productModel = new Product(); | 315 | $productModel = new Product(); |
| 316 | - $productList = $productModel->list(['id'=>['in',$productIdArr]],['id','title']); | 316 | + $productList = $productModel->list(['id'=>['in',$productIdArr]],['id','title','route']); |
| 317 | } | 317 | } |
| 318 | return $this->success($productList); | 318 | return $this->success($productList); |
| 319 | } | 319 | } |
-
请 注册 或 登录 后发表评论