|
|
|
@ -183,9 +183,9 @@ public class UserServiceImpl implements UserService { |
|
|
|
// if(StringUtils.isNotBlank(param.getMobileNumber()) && (!param.getMobileNumber().startsWith("+") || param.getMobileNumber().split("-").length != 2)){
|
|
|
|
// return new SimpleDataResponse(ResponseCode.MSG_ERROR, "Parameter [mobileNumber] error");
|
|
|
|
// }
|
|
|
|
if(null == param.getUserType() || param.getUserType().intValue() < 1 || param.getUserType().intValue() > 2){ |
|
|
|
return new SimpleDataResponse(ResponseCode.MSG_ERROR, "Parameter [userType] error"); |
|
|
|
} |
|
|
|
// if(null == param.getUserType() || param.getUserType().intValue() < 1 || param.getUserType().intValue() > 2){
|
|
|
|
// return new SimpleDataResponse(ResponseCode.MSG_ERROR, "Parameter [userType] error");
|
|
|
|
// }
|
|
|
|
return SimpleDataResponse.success(); |
|
|
|
} |
|
|
|
|
|
|
|
|