...
|
...
|
@@ -34,6 +34,14 @@ public class AlipayServiceImpl implements IAlipayService { |
|
|
@Override
|
|
|
public void beginAlipayCert(RealNameAuthorizeReqVO reqVO, ZhiMaCert zhiMaCert, AuthorizeResultRespVO respBO){
|
|
|
logger.info("BeginAlipayCert: Begin alipay certification. reqVO is {}, zhiMaCert is {}", reqVO, zhiMaCert);
|
|
|
// 闲鱼用户不进行百度刷脸认证,直接认证成功
|
|
|
if("h5".equals(reqVO.getClient_type())){
|
|
|
logger.info("BeginAlipayCert: client_type is h5, reqVO is {}, zhiMaCert is {}", reqVO, zhiMaCert);
|
|
|
zhiMaCertDao.updateIdleFishValidStatus(zhiMaCert.getId());
|
|
|
respBO.setCallZhiMa("1");
|
|
|
respBO.setZhiMaCertId(zhiMaCert.getId());
|
|
|
return;
|
|
|
}
|
|
|
//(1)支付宝刷脸认证初始化
|
|
|
String certifyId = AlipayCertHelper.alipayCertifyInit(reqVO.getCertName(), reqVO.getCertNo());
|
|
|
logger.info("BeginAlipayCert: alipay init result. uid is {}, certNO is {}, certName is {}, certifyId is {}", reqVO.getUid(), reqVO.getCertNo(), reqVO.getCertName(), certifyId);
|
...
|
...
|
|