正在显示
1 个修改的文件
包含
3 行增加
和
6 行删除
| @@ -28,12 +28,9 @@ class ProjectKeywordController extends BaseController | @@ -28,12 +28,9 @@ class ProjectKeywordController extends BaseController | ||
| 28 | if($info === false){ | 28 | if($info === false){ |
| 29 | $this->response('success'); | 29 | $this->response('success'); |
| 30 | } | 30 | } |
| 31 | - if(!empty($info['search_keywords'])){ | ||
| 32 | - $data['search_keywords'] = explode(',',$info['search_keywords']); | ||
| 33 | - } | ||
| 34 | - if(!empty($info['main_keywords'])){ | ||
| 35 | - $data['main_keywords'] = explode(',',$info['main_keywords']); | ||
| 36 | - } | 31 | + |
| 32 | + $data['search_keywords'] = $info['search_keywords']; | ||
| 33 | + $data['main_keywords'] = $info['main_keywords']; | ||
| 37 | $this->response('success',Code::SUCCESS,$data); | 34 | $this->response('success',Code::SUCCESS,$data); |
| 38 | } | 35 | } |
| 39 | 36 |
-
请 注册 或 登录 后发表评论