From 5871c56d453df5efcc11294994bcf6bb8577a4f8 Mon Sep 17 00:00:00 2001 From: limu Date: Tue, 26 Dec 2023 10:32:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=A5=E9=94=99=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/admin/user/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controller/admin/user/User.php b/app/controller/admin/user/User.php index dc10a3d..255cef8 100644 --- a/app/controller/admin/user/User.php +++ b/app/controller/admin/user/User.php @@ -619,7 +619,7 @@ class User extends BaseController foreach ($user_role_id as $k => $value) { $user_role_ids[$k] = (int)$value; if (!$partnerRepository->roleExists((int)$value)) - return app('json')->fail('该位置已分配,请重新选择'); + return app('json')->fail('该角色已分配,请重新选择'); } $userPartnerRepository->editPartner($id, $user_role_id); return app('json')->success('修改成功');