Browse Source

【初心互助】报名志愿者认证bug修改-王公峰-2020-06-05

feature/dangjian
wanggongfeng 5 years ago
parent
commit
68d679b372
  1. 4
      esua-epdc/epdc-module/epdc-api/epdc-api-server/src/main/java/com/elink/esua/epdc/controller/ApiActUserRelationController.java

4
esua-epdc/epdc-module/epdc-api/epdc-api-server/src/main/java/com/elink/esua/epdc/controller/ApiActUserRelationController.java

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

Loading…
Cancel
Save