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('修改成功');