|
|
@ -306,13 +306,11 @@ public class UsersService extends BaseService { |
|
|
|
user.setEmail(email); |
|
|
|
user.setEmail(email); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (StringUtils.isNotEmpty(phone)) { |
|
|
|
if (StringUtils.isNotEmpty(phone) && !CheckUtils.checkPhone(phone)) { |
|
|
|
if (!CheckUtils.checkPhone(phone)){ |
|
|
|
putMsg(result, Status.REQUEST_PARAMS_NOT_VALID_ERROR,phone); |
|
|
|
putMsg(result, Status.REQUEST_PARAMS_NOT_VALID_ERROR,phone); |
|
|
|
return result; |
|
|
|
return result; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
user.setPhone(phone); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
user.setPhone(phone); |
|
|
|
user.setQueue(queue); |
|
|
|
user.setQueue(queue); |
|
|
|
Date now = new Date(); |
|
|
|
Date now = new Date(); |
|
|
|
user.setUpdateTime(now); |
|
|
|
user.setUpdateTime(now); |
|
|
|