From c3ed9a07b0765834136afb6400d350d895584b51 Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Mon, 01 Jul 2024 14:03:23 +0800 Subject: [PATCH] 后台 --- src/main/resources/application-dev.yml | 36 ++++++++++++++++++++++++------------ 1 files changed, 24 insertions(+), 12 deletions(-) diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index 71c15be..dd0403f 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: db_guess + password: db_guess123!@# 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 + url: jdbc:mysql://47.243.240.123:3306/db_guess?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&allowMultiQueries=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8 +# username: db_mall_gfa +# password: db_mall_gfa123!@#123 +# driver-class-name: com.mysql.cj.jdbc.Driver +# url: jdbc:mysql://47.111.90.145:3306/db_mall_gfa?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&allowMultiQueries=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8 redis: # Redis数据库索引(默认为 0) - database: 3 + database: 1 # Redis服务器地址 - host: 120.27.238.55 + host: 47.243.240.123 # Redis服务器连接端口 - port: 6479 + 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: 47.243.240.123 port: 5672 - username: ct_rabbit - password: 123456 + username: xc_rabbit + password: xuncong123 publisher-confirm-type: correlated pay: @@ -63,4 +67,12 @@ 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/ + +system: + chain-listener: false -- Gitblit v1.9.1