用户实名去掉手机号
This commit is contained in:
parent
682597d821
commit
dcc9cd845d
|
@ -30,7 +30,6 @@ public class UserRealNameDTO {
|
|||
private String realIdCard;
|
||||
|
||||
@ApiModelProperty("手机号")
|
||||
@NotBlank(message = "手机号不允许为空")
|
||||
@Pattern(regexp = RegexpUtils.MOBILE_PHONE_REGEXP, message = "手机号格式错误")
|
||||
private String realPhone;
|
||||
|
||||
|
|
|
@ -351,8 +351,9 @@ public class SmUserServiceImpl implements ISmUserService
|
|||
// ServiceUtil.assertion(user.getIsReal() != null && user.getIsReal(), "您已进行过实名认证,无需再次认证");
|
||||
|
||||
// 调用第三方API三要素验证
|
||||
boolean check = RealNameValidUtils.validMobile3Info(dto.getRealIdCard(), dto.getRealPhone(), dto.getRealName());
|
||||
ServiceUtil.assertion(!check, "请输入正确的身份信息:姓名、身份证、手机号需要一致");
|
||||
// NOTE:无需三要素,只需要姓名、身份证即可
|
||||
// boolean check = RealNameValidUtils.validMobile3Info(dto.getRealIdCard(), dto.getRealPhone(), dto.getRealName());
|
||||
// ServiceUtil.assertion(!check, "请输入正确的身份信息:姓名、身份证、手机号需要一致");
|
||||
|
||||
// 获取活体检测token
|
||||
LivenessResponseTokenData tokenData = LivenessUtils.getToken(LIVENESS_RETURN_URL, null, null);
|
||||
|
|
|
@ -134,4 +134,4 @@ tm:
|
|||
|
||||
# 活体检测跳转地址
|
||||
liveness:
|
||||
returnUrl: http://192.168.2.81:3001/liveness
|
||||
returnUrl: http://192.168.2.106:3001/liveness
|
||||
|
|
Loading…
Reference in New Issue
Block a user