@EnableConfigurationProperties(value=WeChatPayProperties.class) @ConditionalOnProperty(prefix="wechat.pay", value="enabled", matchIfMissing=false) @Configuration public class WeChatPayAutoConfiguration extends Object
| Constructor and Description |
|---|
WeChatPayAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
com.github.binarywang.wxpay.service.WxPayService |
wxPayService(WeChatPayProperties weChatPayProperties)
初始化微信支付API的Service
|
@ConditionalOnMissingBean @Bean public com.github.binarywang.wxpay.service.WxPayService wxPayService(WeChatPayProperties weChatPayProperties)
weChatPayProperties - 微信支付配置Copyright © 2018–2020. All rights reserved.