This commit is contained in:
felord.cn
2020-12-02 23:33:32 +08:00
parent c9fae03a5c
commit 0dce021259
3 changed files with 10 additions and 9 deletions

View File

@@ -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);
}
/**

View File

@@ -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);
}