作者 lyh

gx

@@ -32,8 +32,8 @@ class ProjectController extends BaseController @@ -32,8 +32,8 @@ 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 - $map[] = ['type', '>=' ,3]; 35 + if($this->param['type'] == 3){//推广中
  36 + $map[] = ['type', '>=' ,$this->param['type']];
37 }else{ 37 }else{
38 $map[] = ['type', $this->param['type']]; 38 $map[] = ['type', $this->param['type']];
39 } 39 }