作者 lyh

gx

@@ -37,7 +37,7 @@ class ProjectController extends BaseController @@ -37,7 +37,7 @@ class ProjectController extends BaseController
37 if($this->param['type'] == 3){//推广中 37 if($this->param['type'] == 3){//推广中
38 $map[] = ['type', '>' ,$this->param['type']]; 38 $map[] = ['type', '>' ,$this->param['type']];
39 }elseif($this->param['type'] == 2){ 39 }elseif($this->param['type'] == 2){
40 - $map[] = [[['type'=>2],['type'=>3]], 'or']; 40 + $map[] = ['type', 'in', [2,3]];
41 }else{ 41 }else{
42 $map[] = ['type',1]; 42 $map[] = ['type',1];
43 } 43 }