mirror of
https://github.com/dromara/payment-spring-boot.git
synced 2026-03-14 13:53:42 +08:00
项目
This commit is contained in:
@@ -3,7 +3,6 @@ package cn.felord.payment.wechat;
|
||||
|
||||
import cn.felord.payment.wechat.oauth2.OAuth2AuthorizationRequestRedirectProvider;
|
||||
import cn.felord.payment.wechat.v3.*;
|
||||
import cn.felord.payment.wechat.v3.*;
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
|
||||
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
@@ -77,8 +76,8 @@ public class WechatPayConfiguration {
|
||||
* @return the wechat marketing api
|
||||
*/
|
||||
@Bean
|
||||
public WechatMarketingApi wechatMarketingApi(WechatPayClient wechatPayClient, WechatMetaBean wechatMetaBean) {
|
||||
return new WechatMarketingApi(wechatPayClient, wechatMetaBean);
|
||||
public WechatMarketingFavorApi wechatMarketingApi(WechatPayClient wechatPayClient, WechatMetaBean wechatMetaBean) {
|
||||
return new WechatMarketingFavorApi(wechatPayClient, wechatMetaBean);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -29,19 +29,19 @@ import java.util.Objects;
|
||||
import java.util.function.Consumer;
|
||||
|
||||
/**
|
||||
* The type Wechat marketing api.
|
||||
* 微信支付营销代金券API
|
||||
*
|
||||
* @author Dax
|
||||
* @since 18 :22
|
||||
*/
|
||||
public class WechatMarketingApi extends AbstractApi {
|
||||
public class WechatMarketingFavorApi extends AbstractApi {
|
||||
/**
|
||||
* Instantiates a new Wechat marketing api.
|
||||
*
|
||||
* @param wechatPayClient the wechat pay client
|
||||
* @param wechatMetaBean the wechat meta bean
|
||||
*/
|
||||
public WechatMarketingApi(WechatPayClient wechatPayClient, WechatMetaBean wechatMetaBean) {
|
||||
public WechatMarketingFavorApi(WechatPayClient wechatPayClient, WechatMetaBean wechatMetaBean) {
|
||||
super(wechatPayClient, wechatMetaBean);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user