From c129ae76b6e0ccd6a3f8637b65de0647f1a44219 Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Mon, 29 Jul 2024 15:06:46 +0800 Subject: [PATCH] 后台 --- src/main/resources/application-dev.yml | 31 ++++++++++++++++++++----------- 1 files changed, 20 insertions(+), 11 deletions(-) diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index f400fa0..16649fc 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -2,7 +2,7 @@ datasource: dynamic: # 是否开启 SQL日志输出,生产环境建议关闭,有性能损耗 - p6spy: true + p6spy: false hikari: connection-timeout: 30000 max-lifetime: 1800000 @@ -15,20 +15,24 @@ datasource: # 数据源-1,名称为 base base: - username: ct_test - password: 123456 + # username: ct_test + # password: 123456 + # driver-class-name: com.mysql.cj.jdbc.Driver + # url: jdbc:mysql://120.27.238.55:3406/db_hongloumeng?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&allowMultiQueries=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8 + username: db_wdf + password: db_wdf123!@#123 driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://120.27.238.55:3406/db_hongloumeng?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8 + url: jdbc:mysql://103.234.75.48:3306/db_wdf?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&allowMultiQueries=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8 redis: # Redis数据库索引(默认为 0) - database: 3 + database: 4 # Redis服务器地址 - host: 120.27.238.55 + host: 103.234.75.48 # Redis服务器连接端口 port: 6379 # Redis 密码 - password: d3y6dsdl;f.327 + password: 1234!@#$!QAZ lettuce: pool: # 连接池中的最小空闲连接 @@ -42,10 +46,10 @@ # 连接超时时间(毫秒) timeout: 5000 rabbitmq: - host: 120.27.238.55 + host: 103.234.75.48 port: 5672 - username: ct_rabbit - password: 123456 + username: xc_rabbit + password: xuncong123 publisher-confirm-type: correlated pay: @@ -63,4 +67,9 @@ mchId: 1641389321 mchKey: wqri51aCfiG31o4IcdX3dW12qnX3u4hp keyPath: classpath:cert/apiclient_cert.p12 - noticeUrl: http://120.27.238.55:8185/api/pay/wxPayCallBack \ No newline at end of file + noticeUrl: http://120.27.238.55:8185/api/pay/wxPayCallBack + +static: + resource: + url: http://120.27.238.55:8187/uploadeFile/ + path: /home/javaweb/webresource/gfa/h5/uploadeFile/ \ No newline at end of file -- Gitblit v1.9.1