-
1、pom引入组件
-
2、配置必要属性
- wx.app-id=appid
- wx.pay.mchId=商户id
- wx.pay.certificate-serial-no=微信支付证书序列号
- wx.pay.api-v3-key=v3密钥
- wx.pay.private-key-path=classpath:/cert/微信支付证书私钥文件.pem
- wx.pay.notify-url=https://xxx/支付结果通知地址
-
3、在业务Service/Controller中注入WxPayV3Service即可
clxhhsy / wxpay-v3-spring-boot-starter Goto Github PK
View Code? Open in Web Editor NEWThis project forked from rwocj/wxpay-okhttp
基于Okhttp实现的微信支付v3接口的Spring boot starter
License: Apache License 2.0