Showing
1 changed file
with
2 additions
and
2 deletions
@@ -610,8 +610,8 @@ public class RealNameAuthorizeServiceImpl implements IRealNameAuthorizeService { | @@ -610,8 +610,8 @@ public class RealNameAuthorizeServiceImpl implements IRealNameAuthorizeService { | ||
610 | int uid = reqVO.getUid(); | 610 | int uid = reqVO.getUid(); |
611 | ZhiMaCert zhiMaCert = this.getValidZhiMaCert(uid); | 611 | ZhiMaCert zhiMaCert = this.getValidZhiMaCert(uid); |
612 | if(zhiMaCert!=null){ | 612 | if(zhiMaCert!=null){ |
613 | - if(1==zhiMaCert.getValidPhoto()){ | ||
614 | - //已经有照片了 | 613 | + if(CertPhotoEnum.valid.getStatus()==zhiMaCert.getValidPhoto()){ |
614 | + //已经有照片了,并且照片已经认证过了 | ||
615 | throw new UfoServiceException(400, "已实名认证!"); | 615 | throw new UfoServiceException(400, "已实名认证!"); |
616 | }else{ | 616 | }else{ |
617 | //只是缺少照片,只是验证照片即可 | 617 | //只是缺少照片,只是验证照片即可 |
-
Please register or login to post a comment