From 3cdab12c953f2a43f8783995df5403935ac08909 Mon Sep 17 00:00:00 2001 From: yaooo <272523191@qq.com> Date: Mon, 30 Oct 2023 13:53:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BA=BA=E4=BA=8B=E8=B0=83?= =?UTF-8?q?=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/controller/UserPosition.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/controller/UserPosition.php b/app/api/controller/UserPosition.php index f109525..4b07f31 100644 --- a/app/api/controller/UserPosition.php +++ b/app/api/controller/UserPosition.php @@ -29,7 +29,7 @@ class UserPosition extends ApiController foreach ($list as &$val) { $groupId = Db::name('PositionGroup')->where(['pid' => $val['id']])->column('group_id'); $groupName = Db::name('AdminGroup')->where('id', 'in', $groupId)->column('title'); - $val['group_dd'] = $groupId; + $val['group_id'] = $groupId; $val['group_name'] = implode(',', $groupName); } $this->apiSuccess('获取成功', $list);