Showing
1 changed file
with
1 additions
and
1 deletions
@@ -475,7 +475,7 @@ public class RealNameAuthorizeServiceImpl implements IRealNameAuthorizeService { | @@ -475,7 +475,7 @@ public class RealNameAuthorizeServiceImpl implements IRealNameAuthorizeService { | ||
475 | int uid = reqVO.getUid(); | 475 | int uid = reqVO.getUid(); |
476 | ZhiMaCert zhiMaCert = this.getValidZhiMaCert(uid); | 476 | ZhiMaCert zhiMaCert = this.getValidZhiMaCert(uid); |
477 | if(zhiMaCert!=null){ | 477 | if(zhiMaCert!=null){ |
478 | - if(CertPhotoEnum.valid.getStatus()==zhiMaCert.getValidPhoto()){ | 478 | + if(zhiMaCert.getValidPhoto()!=null&&CertPhotoEnum.valid.getStatus()==zhiMaCert.getValidPhoto()){ |
479 | //已经有照片了,并且照片已经认证过了 | 479 | //已经有照片了,并且照片已经认证过了 |
480 | throw new UfoServiceException(400, "已实名认证!"); | 480 | throw new UfoServiceException(400, "已实名认证!"); |
481 | }else{ | 481 | }else{ |
-
Please register or login to post a comment