Browse Source

微信支付配置

igl 9 months ago
parent
commit
783ef805a0

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

@@ -68,4 +68,12 @@ sms:
 wechat:
   applets:
     - appid: wx593877b3c990b15c
-      secret: 19ab92afb193b0f3c25e57ec32a3dd37
+      secret: 19ab92afb193b0f3c25e57ec32a3dd37
+
+  payments:
+    - name: applet
+      mode: JSAPI
+      appid: wx593877b3c990b15c
+      mchid: 1692584316
+      mchkey: 5671c0f7c3a2463ab4f602f43f043ba6
+      callback: https://test.chelvc.com/api/order/applet/callback

+ 9 - 1
src/main/resources/application-pre.yml

@@ -68,4 +68,12 @@ sms:
 wechat:
   applets:
     - appid: wx593877b3c990b15c
-      secret: 19ab92afb193b0f3c25e57ec32a3dd37
+      secret: 19ab92afb193b0f3c25e57ec32a3dd37
+
+  payments:
+    - name: applet
+      mode: JSAPI
+      appid: wx593877b3c990b15c
+      mchid: 1692584316
+      mchkey: 5671c0f7c3a2463ab4f602f43f043ba6
+      callback: https://test.chelvc.com/api/order/applet/callback

+ 9 - 1
src/main/resources/application-prod.yml

@@ -68,4 +68,12 @@ sms:
 wechat:
   applets:
     - appid: wx593877b3c990b15c
-      secret: 19ab92afb193b0f3c25e57ec32a3dd37
+      secret: 19ab92afb193b0f3c25e57ec32a3dd37
+
+  payments:
+    - name: applet
+      mode: JSAPI
+      appid: wx593877b3c990b15c
+      mchid: 1692584316
+      mchkey: 5671c0f7c3a2463ab4f602f43f043ba6
+      callback: https://test.chelvc.com/api/order/applet/callback

+ 9 - 1
src/main/resources/application-test.yml

@@ -68,4 +68,12 @@ sms:
 wechat:
   applets:
     - appid: wx593877b3c990b15c
-      secret: 19ab92afb193b0f3c25e57ec32a3dd37
+      secret: 19ab92afb193b0f3c25e57ec32a3dd37
+
+  payments:
+    - name: applet
+      mode: JSAPI
+      appid: wx593877b3c990b15c
+      mchid: 1692584316
+      mchkey: 5671c0f7c3a2463ab4f602f43f043ba6
+      callback: https://test.chelvc.com/api/order/applet/callback