mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-23 07:41:53 +08:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
0669b9da34
@ -217,10 +217,10 @@ public class MemberUserServiceImpl implements MemberUserService {
|
|||||||
}
|
}
|
||||||
// 如果 id 为空,说明不用比较是否为相同 id 的用户
|
// 如果 id 为空,说明不用比较是否为相同 id 的用户
|
||||||
if (id == null) {
|
if (id == null) {
|
||||||
throw exception(USER_MOBILE_USED);
|
throw exception(USER_MOBILE_USED, mobile);
|
||||||
}
|
}
|
||||||
if (!user.getId().equals(id)) {
|
if (!user.getId().equals(id)) {
|
||||||
throw exception(USER_MOBILE_USED);
|
throw exception(USER_MOBILE_USED, mobile);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user