mirror of
https://github.com/dromara/payment-spring-boot.git
synced 2026-03-14 05:43:46 +08:00
refactor: WechatPartnerPayApi 加入Spring IOC
This commit is contained in:
@@ -65,6 +65,18 @@ public class WechatApiProvider {
|
|||||||
return new WechatDirectPayApi(wechatPayClient, tenantId);
|
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);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 合单支付.
|
* 合单支付.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user