From 96d4e7bc56a334b9ed19f36e6d232b692252cb6d Mon Sep 17 00:00:00 2001 From: dhb52 Date: Sun, 24 Sep 2023 22:23:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=9C=80=E8=A6=81=E5=A1=AB=E5=85=85?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E4=BF=A1=E6=81=AF=E4=B8=AD=E7=9A=84=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../module/member/service/user/MemberUserServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/service/user/MemberUserServiceImpl.java b/yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/service/user/MemberUserServiceImpl.java index c5b674cc8a..3fdbec5f61 100644 --- a/yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/service/user/MemberUserServiceImpl.java +++ b/yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/service/user/MemberUserServiceImpl.java @@ -217,10 +217,10 @@ public class MemberUserServiceImpl implements MemberUserService { } // 如果 id 为空,说明不用比较是否为相同 id 的用户 if (id == null) { - throw exception(USER_MOBILE_USED); + throw exception(USER_MOBILE_USED, mobile); } if (!user.getId().equals(id)) { - throw exception(USER_MOBILE_USED); + throw exception(USER_MOBILE_USED, mobile); } }