Skip to content
This repository has been archived by the owner on Apr 13, 2022. It is now read-only.

gaigeshen/wechat-pay-spring-boot-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

微信支付自动配置

License Build Status Maven Central Sonatype Nexus (Snapshots) GitHub last commit

  • 直接添加依赖即可,替换具体的版本号
<dependency>
  <groupId>me.gaigeshen.wechat</groupId>
  <artifactId>wechat-pay-spring-boot-starter</artifactId>
  <version>${VERSION}</version>
</dependency>
  • 快速配置项目,必须提供appid,mchId,key
wechat.pay:
  appid: ${your-appid}
  mch-id: ${your-mchId}
  key: ${your-key}
  secret: ${your-secret-optional}
  cert-location: ${your-cert-file-location-optional}
  • 开始使用,在你的类中注入RequestExecutor即可