Authored by qinchao

fix bug

... ... @@ -475,7 +475,7 @@ public class RealNameAuthorizeServiceImpl implements IRealNameAuthorizeService {
int uid = reqVO.getUid();
ZhiMaCert zhiMaCert = this.getValidZhiMaCert(uid);
if(zhiMaCert!=null){
if(CertPhotoEnum.valid.getStatus()==zhiMaCert.getValidPhoto()){
if(zhiMaCert.getValidPhoto()!=null&&CertPhotoEnum.valid.getStatus()==zhiMaCert.getValidPhoto()){
//已经有照片了,并且照片已经认证过了
throw new UfoServiceException(400, "已实名认证!");
}else{
... ...