|
@ -60,7 +60,7 @@ public class ApiActUserRelationController { |
|
|
Result isVolunteer = appUserService.getVolunteerCountById(tokenDto); |
|
|
Result isVolunteer = appUserService.getVolunteerCountById(tokenDto); |
|
|
int code = isVolunteer.getCode(); |
|
|
int code = isVolunteer.getCode(); |
|
|
if (code != 0) { |
|
|
if (code != 0) { |
|
|
//不是志愿者
|
|
|
// 不是志愿者
|
|
|
return isVolunteer; |
|
|
return isVolunteer; |
|
|
} |
|
|
} |
|
|
Result<EpdcUserInfoResultDTO> userInfo = appUserService.getInfoById(tokenDto); |
|
|
Result<EpdcUserInfoResultDTO> userInfo = appUserService.getInfoById(tokenDto); |
|
@ -82,6 +82,8 @@ public class ApiActUserRelationController { |
|
|
if (StringUtils.isEmpty(identityNo)) { |
|
|
if (StringUtils.isEmpty(identityNo)) { |
|
|
// 身份证号码为空,需要重新认证志愿者
|
|
|
// 身份证号码为空,需要重新认证志愿者
|
|
|
isVolunteer.setData(0); |
|
|
isVolunteer.setData(0); |
|
|
|
|
|
isVolunteer.setCode(1); |
|
|
|
|
|
isVolunteer.error("身份证号码无效,请重新认证志愿者!"); |
|
|
return isVolunteer; |
|
|
return isVolunteer; |
|
|
} |
|
|
} |
|
|
String identityNoVerification = IdentityNoUtils.IdentityNoVerification(identityNo); |
|
|
String identityNoVerification = IdentityNoUtils.IdentityNoVerification(identityNo); |
|
|