Browse Source

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

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

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

@ -79,8 +79,11 @@ public class ApiActUserRelationController {
String identityNo = epdcUserInfoResultDTO.getIdentityNo(); String identityNo = epdcUserInfoResultDTO.getIdentityNo();
if ("".equals(identityNo) || identityNo == null) { if (StringUtils.isEmpty(identityNo)) {
// 身份证号码为空,需要重新认证志愿者 // 身份证号码为空,需要重新认证志愿者
isVolunteer.setData(0);
isVolunteer.error("身份证号码无效,请重新认证志愿者!");
return isVolunteer; return isVolunteer;
} }
String identityNoVerification = IdentityNoUtils.IdentityNoVerification(identityNo); String identityNoVerification = IdentityNoUtils.IdentityNoVerification(identityNo);

Loading…
Cancel
Save