更新
This commit is contained in:
parent
89d996fba5
commit
947f0c33ee
@ -44,7 +44,6 @@ class TaskController extends BaseApiController
|
|||||||
if (isset($param['status']) && $param['status'] > 0) {
|
if (isset($param['status']) && $param['status'] > 0) {
|
||||||
$where[] = ['status', '=', $param['status']];
|
$where[] = ['status', '=', $param['status']];
|
||||||
}
|
}
|
||||||
halt($where);
|
|
||||||
$res = Task::where($where)
|
$res = Task::where($where)
|
||||||
->field(['id', 'title', 'money', 'template_id', 'director_uid', 'company_id', 'start_time', 'end_time', 'director_uid', 'type', 'status', 'content', 'extend'])
|
->field(['id', 'title', 'money', 'template_id', 'director_uid', 'company_id', 'start_time', 'end_time', 'director_uid', 'type', 'status', 'content', 'extend'])
|
||||||
->page($page, 25)
|
->page($page, 25)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user