Authored by qinchao

已认证判断

... ... @@ -610,8 +610,8 @@ public class RealNameAuthorizeServiceImpl implements IRealNameAuthorizeService {
int uid = reqVO.getUid();
ZhiMaCert zhiMaCert = this.getValidZhiMaCert(uid);
if(zhiMaCert!=null){
if(1==zhiMaCert.getValidPhoto()){
//已经有照片了
if(CertPhotoEnum.valid.getStatus()==zhiMaCert.getValidPhoto()){
//已经有照片了,并且照片已经认证过了
throw new UfoServiceException(400, "已实名认证!");
}else{
//只是缺少照片,只是验证照片即可
... ...