正在显示
1 个修改的文件
包含
3 行增加
和
0 行删除
| @@ -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 | } |
-
请 注册 或 登录 后发表评论