正在显示
1 个修改的文件
包含
3 行增加
和
3 行删除
| @@ -35,9 +35,9 @@ class ProjectController extends BaseController | @@ -35,9 +35,9 @@ class ProjectController extends BaseController | ||
| 35 | //搜索类型 | 35 | //搜索类型 |
| 36 | if(!empty($this->param['type'])){ | 36 | if(!empty($this->param['type'])){ |
| 37 | if($this->param['type'] == 3){//推广中 | 37 | if($this->param['type'] == 3){//推广中 |
| 38 | - $map[] = ['type', '>=' ,$this->param['type']]; | ||
| 39 | - }else{ | ||
| 40 | - $map[] = ['type', $this->param['type']]; | 38 | + $map[] = ['type', '>' ,$this->param['type']]; |
| 39 | + }elseif($this->param['type'] == 2){ | ||
| 40 | + $map[] = [[['type'=>2],['type'=>3]], 'or']; | ||
| 41 | } | 41 | } |
| 42 | } | 42 | } |
| 43 | //搜索技术组 | 43 | //搜索技术组 |
-
请 注册 或 登录 后发表评论