Browse Source

Merge remote-tracking branch 'origin/master'

kongge 1 week ago
parent
commit
33f933c873

+ 3 - 0
src/main/resources/application-dev.yml

@@ -85,3 +85,6 @@ wechat:
       mchid: 1692584316
       mchkey: 5671c0f7c3a2463ab4f602f43f043ba6
       callback: https://test.chelvc.com/api/order/applet/callback
+
+chelvc:
+  domain: https://test.chelvc.com/api

+ 85 - 0
src/main/resources/application-local.yml

@@ -0,0 +1,85 @@
+spring:
+  cloud:
+    nacos:
+      discovery:
+        server-addr: 127.0.0.1:8848
+  datasource:
+    dynamic:
+      primary: com.chelvc.cloud.uc.server
+      datasource:
+        "[com.chelvc.cloud.uc.server]":
+          url: jdbc:mysql://47.108.212.170:6180/user?characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false&allowMultiQueries=true&allowPublicKeyRetrieval=true
+          username: user
+          password: Chelvc@user!2023#
+          hikari:
+            driver-class-name: com.mysql.cj.jdbc.Driver
+            pool-name: chelvc
+            max-pool-size: 10
+            max-lifetime: 120000
+        "[com.chelvc.cloud.vehicle.server]":
+          url: jdbc:mysql://47.108.212.170:6180/vehicle?characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false&allowMultiQueries=true&allowPublicKeyRetrieval=true
+          username: vehicle
+          password: Chelvc@vehicle!2023#
+          hikari:
+            driver-class-name: com.mysql.cj.jdbc.Driver
+            pool-name: chelvc
+            max-pool-size: 10
+            max-lifetime: 120000
+  redis:
+    host: 47.108.212.170
+    port: 7031
+    password: Chelvc@2023
+
+dubbo:
+  registry:
+    address: nacos://127.0.0.1:8848
+
+nacos:
+  config:
+    server-addr: 127.0.0.1:8848
+
+security:
+  ignores:
+    - /user/**
+    - /vehicle/**
+    - /maintain/merchant/apply/notify #商户入驻回调
+    - /maintain/asset/withdraw/notify #提现回调
+    - /maintain/asset/transfer/notify #转账回调
+    - /maintain/order/notify          #支付回调
+    - /maintain/order/refund/notify   #退款回调
+  oauth:
+    secret: oauth.token.secret@chelvc!@#2023
+    clients:
+      - id: chelvc_client
+        secret: chelvc@secret#2023!
+        scopes: ADMIN,CUSTOMER,MERCHANT
+        grants: sms,wechat,password,refresh_token
+        access-token-timeout: 3600
+        refresh-token-timeout: 86400
+
+upload:
+  directory: /home/chelvc/static
+  domain: https://test.chelvc.com/file
+  channel: DEFAULT
+
+location:
+  caching:
+    enabled: true
+  clients:
+    - key: VPKBZ-CR3CG-R23QE-QK2IY-LNXKZ-GCB34
+      channel: TENCENT
+
+sms:
+  clients:
+    - id: LTAI5tAnS3tQqjpHdT1KqeUw
+      secret: xs6OZj6pyJLTcNBDjp6ikftVyKRXsk
+      template: SMS_274640619
+      signature: 车旅程
+      channel: ALIYUN
+
+wechat:
+  appid: wx593877b3c990b15c
+  secret: 19ab92afb193b0f3c25e57ec32a3dd37
+
+chelvc:
+  domain: https://test.chelvc.com/api

+ 3 - 0
src/main/resources/application-pre.yml

@@ -85,3 +85,6 @@ wechat:
       mchid: 1692584316
       mchkey: 5671c0f7c3a2463ab4f602f43f043ba6
       callback: https://test.chelvc.com/api/order/applet/callback
+
+chelvc:
+  domain: https://test.chelvc.com/api

+ 3 - 0
src/main/resources/application-prod.yml

@@ -85,3 +85,6 @@ wechat:
       mchid: 1692584316
       mchkey: 5671c0f7c3a2463ab4f602f43f043ba6
       callback: https://test.chelvc.com/api/order/applet/callback
+
+chelvc:
+  domain: https://www.chelvc.com/api

+ 3 - 0
src/main/resources/application-test.yml

@@ -85,3 +85,6 @@ wechat:
       mchid: 1692584316
       mchkey: 5671c0f7c3a2463ab4f602f43f043ba6
       callback: https://test.chelvc.com/api/order/applet/callback
+
+chelvc:
+  domain: https://test.chelvc.com/api