Browse Source

feat:微信支付

zhanghui 1 month ago
parent
commit
1654824fd0
2 changed files with 7 additions and 8 deletions
  1. 1 2
      src/main/resources/application-dev.yml
  2. 6 6
      src/main/resources/application-test.yml

+ 1 - 2
src/main/resources/application-dev.yml

@@ -68,9 +68,8 @@ wxpay:
     certP12Path: ${wxpay.fileRootPath}apiclient_cert.p12
     platformCertPath: ${wxpay.fileRootPath}wx_cert.pem
     mchId: 1682199743
-    apiKey2: 30dffa037fe542df90bd71ca66088690
     apiKey3: eccd49c1e92640f0a127e74518cc5f25
-    apiKey:
+    apiKey: 30dffa037fe542df90bd71ca66088690
     domain: http://u2mu3zixu5wm.ngrok.xiaomiqiu123.top/
 
 

+ 6 - 6
src/main/resources/application-test.yml

@@ -43,19 +43,19 @@ blade:
 
 
 wxpay:
-  fileRootPath: /data/cert/wx/
+  fileRootPath: /data/vend/cert/wx/
   v3:
     appId: wxb36cbb868a7d2d68
     appIdxcx: wxb36cbb868a7d2d68
     appSecretxcx: cf59d9b3f9030b9c601d29f2c957f70e
     keyPath: ${wxpay.fileRootPath}apiclient_key.pem
     certPath: ${wxpay.fileRootPath}apiclient_cert.pem
-    certP12Path: ${wxpay.fileRootPath}cert/apiclient_cert.p12
+    certP12Path: ${wxpay.fileRootPath}apiclient_cert.p12
     platformCertPath: ${wxpay.fileRootPath}wx_cert.pem
-    mchId: 1646838858
-    apiKey3: Dg0naaFoDj6vcd47n5DkM6DVkLKDr91B
-    apiKey: 89e3e5afd8623772bf5a56f460af839a
-    domain: https://test.changgengkeji.com/api
+    mchId: 1682199743
+    apiKey3: eccd49c1e92640f0a127e74518cc5f25
+    apiKey: 30dffa037fe542df90bd71ca66088690
+    domain: https://sellwine.gzzzyd.com/api/
 
 alipay:
   fileRootPath: /data/cert/alipay/