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