作者 lyh

未续费项目增加搜索

@@ -80,6 +80,8 @@ class KeywordController extends BaseController @@ -80,6 +80,8 @@ class KeywordController extends BaseController
80 public function searchParam($map){ 80 public function searchParam($map){
81 if(!empty($map['title'])){ 81 if(!empty($map['title'])){
82 $map['title'] = ['like','%'.$map['title'].'%']; 82 $map['title'] = ['like','%'.$map['title'].'%'];
  83 + }else{
  84 + unset($map['title']);
83 } 85 }
84 if(!empty($map['keyword_title'])){ 86 if(!empty($map['keyword_title'])){
85 $map['keyword_title'] = ['like','%'.$map['keyword_title'].'%']; 87 $map['keyword_title'] = ['like','%'.$map['keyword_title'].'%'];