update 用户邀请数据
This commit is contained in:
parent
6ad7ac6475
commit
e6373b32d0
|
@ -998,7 +998,7 @@ class TaskController extends BaseApiController
|
||||||
|
|
||||||
public function taskList()
|
public function taskList()
|
||||||
{
|
{
|
||||||
$list = Task::where('director_uid', $this->userId)->with(['directorInfo'])
|
$list = Task::where('director_uid', $this->userId)->where('status', 2)->with(['directorInfo'])
|
||||||
->order(['id' => 'desc'])
|
->order(['id' => 'desc'])
|
||||||
->select()->toArray();
|
->select()->toArray();
|
||||||
return $this->success('ok', $list);
|
return $this->success('ok', $list);
|
||||||
|
|
Loading…
Reference in New Issue