...
|
...
|
@@ -187,18 +187,18 @@ public class RealNameAuthorizeServiceImpl implements IRealNameAuthorizeService { |
|
|
//根据uid,获取biz_no
|
|
|
ZhiMaCert zhiMaCert=zhiMaCertDao.selectByPrimaryKey(reqVO.getZhiMaCertId());
|
|
|
if(zhiMaCert==null){
|
|
|
logger.error("zhiMaCertResultQuery get cert by biz no is null ",reqVO.getBizNO());
|
|
|
logger.error("zhiMaCertResultQuery get cert by biz no is null ",reqVO.getZhiMaBizNo());
|
|
|
throw new ServiceException(400, "错误:未找到芝麻认证信息!");
|
|
|
}
|
|
|
|
|
|
logger.info("zhiMaCertResultQuery get zhiMaCert by biz no from db is {} ",zhiMaCert);
|
|
|
|
|
|
if(zhiMaCert.getUid().equals(reqVO.getUid())){
|
|
|
if(!zhiMaCert.getUid().equals(reqVO.getUid())){
|
|
|
logger.error("zhiMaCertResultQuery get cert by biz no is not same req uid {} ,db uid {}",reqVO.getUid(),zhiMaCert.getUid());
|
|
|
throw new ServiceException(400, "错误:未找到用户芝麻认证信息!");
|
|
|
}
|
|
|
|
|
|
ZhimaCustomerCertificationQueryResponse zhiMaResp=ZhiMaCallUtil.zhiMaResult(reqVO.getBizNO());
|
|
|
ZhimaCustomerCertificationQueryResponse zhiMaResp=ZhiMaCallUtil.zhiMaResult(reqVO.getZhiMaBizNo());
|
|
|
if(zhiMaResp==null){
|
|
|
logger.error("zhiMaCertResultQuery result is null,reqVO {}",reqVO);
|
|
|
throw new ServiceException(400, "错误:获取用户芝麻认证信息错误!");
|
...
|
...
|
|