作者 lyh

gx

@@ -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 //搜索技术组