1
0
mirror of synced 2026-02-23 06:27:51 +08:00

🎨 完善微信支付部分文档

This commit is contained in:
0katekate0
2022-08-10 15:52:23 +08:00
committed by GitHub
parent 05f0fa2ac3
commit 52471fce89
8 changed files with 155 additions and 23 deletions

View File

@@ -8,6 +8,7 @@
</dependency>
```
2. 添加配置(application.yml)
###### 1V2版本
```yml
wx:
pay:
@@ -18,6 +19,17 @@ wx:
subMchId:
keyPath:
```
###### 2V3版本
```yml
wx:
pay:
appId: xxxxxxxxxxx
mchId: 15xxxxxxxxx #商户id
apiV3Key: Dc1DBwSc094jACxxxxxxxxxxxxxxx #V3密钥
certSerialNo: 62C6CEAA360BCxxxxxxxxxxxxxxx
privateKeyPath: classpath:cert/apiclient_key.pem #apiclient_key.pem证书文件的绝对路径或者以classpath:开头的类路径
privateCertPath: classpath:cert/apiclient_cert.pem #apiclient_cert.pem证书文件的绝对路径或者以classpath:开头的类路径
```