正在显示
1 个修改的文件
包含
1 行增加
和
2 行删除
| @@ -57,8 +57,7 @@ class SuppliersController extends BaseController | @@ -57,8 +57,7 @@ class SuppliersController extends BaseController | ||
| 57 | */ | 57 | */ |
| 58 | public function getKeyword(){ | 58 | public function getKeyword(){ |
| 59 | $purchaserModel = new Purchaser(); | 59 | $purchaserModel = new Purchaser(); |
| 60 | - $keywordList = $purchaserModel->select('keyword')->groupBy('referrer_url') | ||
| 61 | - ->where('project_id', $this->user['project_id'])->get()->toArray(); | 60 | + $keywordList = $purchaserModel->select('keyword')->groupBy('keyword')->where('project_id', $this->user['project_id'])->get()->toArray(); |
| 62 | $this->response('success',Code::SUCCESS,$keywordList); | 61 | $this->response('success',Code::SUCCESS,$keywordList); |
| 63 | } | 62 | } |
| 64 | 63 |
-
请 注册 或 登录 后发表评论