refactor: WechatPartnerPayApi 加入Spring IOC

This commit is contained in:
felord.cn
2021-03-12 11:07:57 +08:00
committed by felord.cn
parent b913698884
commit 911f986d80

View File

@@ -65,6 +65,18 @@ public class WechatApiProvider {
return new WechatDirectPayApi(wechatPayClient, tenantId);
}
/**
* 普通支付-服务商模式.
*
* @param tenantId the tenant id
* @return the wechat pay api
* @since 1.0.9.RELEASE
*/
public WechatPartnerPayApi partnerPayApi(String tenantId) {
return new WechatPartnerPayApi(wechatPayClient, tenantId);
}
/**
* 合单支付.
*