mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-25 00:15:06 +08:00
fix: 需要填充错误信息中的参数
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user