|
|
@@ -202,14 +202,10 @@ public class AlipayClientFactory {
|
|
|
profile.getAppId(), profile.getAppPrivateKey(), profile.getAlipayPublicKey(),
|
|
|
profile.getServerUrl(), profile.getFormat(), profile.getCharset(), profile.getSignType());
|
|
|
|
|
|
- // 资金类接口统一使用公钥证书模式
|
|
|
- config.setAppCertContent(profile.getAppCertContent());
|
|
|
- config.setAlipayPublicCertContent(profile.getAlipayPublicCertContent());
|
|
|
- config.setRootCertContent(profile.getRootCertContent());
|
|
|
-
|
|
|
+ // bizType 分支使用普通公钥模式(非资金类接口)
|
|
|
try {
|
|
|
AlipayClient client = new DefaultAlipayClient(config);
|
|
|
- log.info("服务商[{}]业务[{}]客户端创建成功, appId={}, mode=cert",
|
|
|
+ log.info("服务商[{}]业务[{}]客户端创建成功, appId={}, mode=key",
|
|
|
profile.getServiceProviderId(), profile.getBizType(), profile.getAppId());
|
|
|
return client;
|
|
|
} catch (AlipayApiException e) {
|