|
|
|
@ -76,16 +76,8 @@ public class ApiActUserRelationController { |
|
|
|
} else { |
|
|
|
actUserRelationDTO.setPartyFlag(YesOrNoEnum.NO.value()); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
String identityNo = epdcUserInfoResultDTO.getIdentityNo(); |
|
|
|
if (StringUtils.isEmpty(identityNo)) { |
|
|
|
// 身份证号码为空,需要重新认证志愿者
|
|
|
|
isVolunteer.setData(0); |
|
|
|
isVolunteer.setCode(1); |
|
|
|
isVolunteer.error("身份证号码无效,请重新认证志愿者!"); |
|
|
|
return isVolunteer; |
|
|
|
} |
|
|
|
String identityNoVerification = IdentityNoUtils.IdentityNoVerification(identityNo); |
|
|
|
if (StringUtils.isNotBlank(identityNoVerification)) { |
|
|
|
return new Result().error(identityNoVerification); |
|
|
|
|