作者 lyh

gx

@@ -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