From f63aa0de643c3851f95be908b7b25543982d4836 Mon Sep 17 00:00:00 2001 From: yin5th <541304803@qq.com> Date: Mon, 16 Jan 2023 14:36:26 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=AE=A1=E6=A0=B8=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3):=20=E5=AD=97=E6=AE=B5=E5=AE=8C=E5=85=A8?= =?UTF-8?q?=E8=BF=94=E5=9B=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/api/v1/Manager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controller/api/v1/Manager.php b/app/controller/api/v1/Manager.php index 3ac0856..ebd3850 100644 --- a/app/controller/api/v1/Manager.php +++ b/app/controller/api/v1/Manager.php @@ -58,7 +58,7 @@ class Manager extends Base $fields = Account::needCheckFields(); array_push($fields, 'id', 'role', 'work_at', 'worksite_id'); - $user = Account::findById($item['account_id'], $fields)->toArray(); + $user = Account::findById($item['account_id'])->toArray(); $user = arrayNullToString($user); $positionList = Position::column('name', 'id');