|
@@ -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
|