...
|
...
|
@@ -38,6 +38,8 @@ class VolunteerController extends AdminBaseController |
|
|
$where['create_time'] = ['<= time', $endTime];
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
$category = empty($param['category']) ? '' : $param['category'];
|
|
|
if (!empty($category)) {
|
|
|
$where['status'] = ['eq', "$category"];
|
...
|
...
|
@@ -47,7 +49,8 @@ class VolunteerController extends AdminBaseController |
|
|
if (!empty($param['stage'])|| $param['stage']==0){
|
|
|
switch ($param['stage']){
|
|
|
case 0:
|
|
|
$where['status']=['in','0,1,3'];
|
|
|
$where['status']=['in','0,1,3,2'];
|
|
|
$where['stage']=0;
|
|
|
$order='id desc';
|
|
|
break;
|
|
|
case 1:
|
...
|
...
|
|