类 WxChatConfig


  • @Configuration
    public class WxChatConfig
    extends Object
    作者:
    胡二毛
    • 构造器详细资料

      • WxChatConfig

        @Autowired
        public WxChatConfig​(WeChatProperties weChatProperties)
    • 方法详细资料

      • getWxMaService

        @Bean("wxMaService")
        @ConditionalOnProperty(prefix="we-chat.mini-app",
                               name="enable",
                               havingValue="true")
        public cn.binarywang.wx.miniapp.api.WxMaService getWxMaService()
      • getWxPayService

        @Bean("wxPayService")
        @ConditionalOnProperty(prefix="we-chat.pay",
                               name="enable",
                               havingValue="true")
        public com.github.binarywang.wxpay.service.WxPayService getWxPayService()