From 17b8acf3e68798537f65d897b3c5c1982cd22d38 Mon Sep 17 00:00:00 2001 From: heheng <heheng@123456> Date: 星期四, 28 十一月 2024 13:49:59 +0800 Subject: [PATCH] 环境整理 --- expert-admin/src/main/resources/application-prod.yml | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/expert-admin/src/main/resources/application-prod.yml b/expert-admin/src/main/resources/application-prod.yml index 35f5096..7780a6c 100644 --- a/expert-admin/src/main/resources/application-prod.yml +++ b/expert-admin/src/main/resources/application-prod.yml @@ -9,7 +9,7 @@ # 版权年份 copyrightYear: 2024 # 文件路径 示例( Windows配置D:/expert/uploadPath,Linux配置 /home/expert/uploadPath) - profile: /home/java/expert/upload + profile: /home/java/expert # 获取ip地址开关 addressEnabled: false # 验证码类型 math 数字计算 char 字符验证 @@ -35,9 +35,9 @@ druid: # 主库数据源 master: - url: jdbc:mysql://localhost:3306/expert_management?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&rewriteBatchedStatements=true&allowMultiQueries=true - username: root - password: 123456 + url: jdbc:mysql://127.0.0.1:3357/expert_management?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&rewriteBatchedStatements=true&allowMultiQueries=true + username: expert_management + password: dAx5eFta3LwFAfbG # 从库数据源 slave: # 从数据源开关/默认关闭 @@ -91,13 +91,13 @@ # redis 配置 redis: # 地址 - host: localhost + host: 127.0.0.1 # 端口,默认为6379 port: 6379 # 数据库索引 database: 10 # 密码 - #password: + password: akj78avauba789a # 连接超时时间 timeout: 10s lettuce: -- Gitblit v1.9.2