update 用户邀请数据

This commit is contained in:
chenbo 2024-01-16 18:06:48 +08:00
parent 6ad7ac6475
commit e6373b32d0
1 changed files with 1 additions and 1 deletions

View File

@ -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);