作者 lyh

gx

@@ -32,10 +32,12 @@ class ProjectController extends BaseController @@ -32,10 +32,12 @@ class ProjectController extends BaseController
32 $map = []; 32 $map = [];
33 //搜索类型 33 //搜索类型
34 if(!empty($this->param['type'])){ 34 if(!empty($this->param['type'])){
35 - if($this->param['type'] >= 3){  
36 - $this->param['type'] = 3; 35 + if($this->param['type'] >= 3){//推广中
  36 + $map[] = ['type', '>=' ,3];
  37 + }else{
  38 + $map[] = ['type', $this->param['type']];
37 } 39 }
38 - $map[] = ['type', $this->param['type']]; 40 +
39 41
40 } 42 }
41 //搜索技术组 43 //搜索技术组