若依框架二次开发——若依集成微信支付

文章目录

    • 1. 添加微信支付相关依赖
    • 2. 在 application.yml 中配置微信支付相关参数
    • 3. 创建微信支付配置类 WxPayConfiguration
    • 4. 创建微信支付属性类 WxPayProperties
    • 5. 创建微信支付业务类 PayService
    • 6. 微信支付接口 WechatPayController
    • 7. 微信支付 DTO

1. 添加微信支付相关依赖

<!-- 微信支付 -->
<dependency>
    <groupId>com.github.wxpay</groupId>
    <artifactId>