|
|
@@ -93,7 +93,7 @@ public class UserServiceImpl implements UserService {
|
|
|
throw new IllegalOperatorException("电话号码重复,建议输入您自己的手机号");
|
|
|
}
|
|
|
}
|
|
|
- if (!newUser.getUserTel().equals(user.getUserTel().trim())) {// 修改了用户邮箱地址
|
|
|
+ if (!newUser.getUserEmail().equals(user.getUserEmail().trim())) {// 修改了用户邮箱地址
|
|
|
List<User> users = userDao.findUserByUserEmail(user.getUserEmail().trim());
|
|
|
if (users.size() > 0) {
|
|
|
throw new IllegalOperatorException("邮箱地址重复,建议输入您自己的电子邮箱地址");
|