作者 lyh

gx数据

@@ -53,6 +53,9 @@ class GeoQuestionResLogic extends BaseLogic @@ -53,6 +53,9 @@ class GeoQuestionResLogic extends BaseLogic
53 $map['created_at'] = ['between',[$map['created_at'].' 00:00:00',$map['created_at'].' 23:59:59']]; 53 $map['created_at'] = ['between',[$map['created_at'].' 00:00:00',$map['created_at'].' 23:59:59']];
54 $this->model = new GeoQuestionLog(); 54 $this->model = new GeoQuestionLog();
55 } 55 }
  56 + if(isset($map['label']) && !empty($map['label'])){
  57 + $map['label'] = ['like','%'.$map['label'].'%'];
  58 + }
56 if(!empty($map['keywords'])){ 59 if(!empty($map['keywords'])){
57 $map['keywords'] = ['like','%'.$map['keywords'].'%']; 60 $map['keywords'] = ['like','%'.$map['keywords'].'%'];
58 } 61 }