From f33cfe86447c16df8ca665e2e1a5f3333ff57792 Mon Sep 17 00:00:00 2001 From: heheng <475597332@qq.com> Date: 星期三, 27 八月 2025 17:02:27 +0800 Subject: [PATCH] 版本改造 --- expert-admin/src/main/resources/application-dev.yml | 34 +++++++++++++++++++++++++++++++--- 1 files changed, 31 insertions(+), 3 deletions(-) diff --git a/expert-admin/src/main/resources/application-dev.yml b/expert-admin/src/main/resources/application-dev.yml index d598276..5eafcf6 100644 --- a/expert-admin/src/main/resources/application-dev.yml +++ b/expert-admin/src/main/resources/application-dev.yml @@ -1,3 +1,31 @@ +server: + port: 8585 + +expert: + # 名称 + name: expert + # 版本 + version: 1.0.0 + # 版权年份 + copyrightYear: 2024 + # 文件路径 示例( Windows配置D:/expert/uploadPath,Linux配置 /home/expert/uploadPath) + profile: D:/expert/uploadPath + # 获取ip地址开关 + addressEnabled: false + # 验证码类型 math 数字计算 char 字符验证 + captchaType: math + +# 日志配置 +logging: + level: + com.gkhy: debug + org.springframework: warn +# Swagger配置 +swagger: + # 是否开启swagger + enabled: true + # 请求前缀 + pathMapping: / # 数据源配置 spring: datasource: @@ -6,9 +34,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 + url: jdbc:mysql://192.168.2.90:7006/expert_management?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&rewriteBatchedStatements=true&allowMultiQueries=true username: root - password: 123456 + password: 2farwL3yPXfbH2AP # 从库数据源 slave: # 从数据源开关/默认关闭 @@ -62,7 +90,7 @@ # redis 配置 redis: # 地址 - host: localhost + host: 192.168.2.90 # 端口,默认为6379 port: 6379 # 数据库索引 -- Gitblit v1.9.2