diff --git a/hyp-admin/src/main/resources/application-prod.yml b/hyp-admin/src/main/resources/application-prod.yml index f132ba1..d933603 100644 --- a/hyp-admin/src/main/resources/application-prod.yml +++ b/hyp-admin/src/main/resources/application-prod.yml @@ -6,9 +6,9 @@ spring: druid: # 主库数据源 master: - url: jdbc:mysql://111.229.217.200:3306/hyp-web?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 - username: ENC(etefRyjDjElO785sByVlQQ==) - password: ENC(WpGUIh5Xfv2mU/Ssjd0hj1mMKGC/1XIr) + url: jdbc:mysql://192.168.254.123:3306/hyp-web?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 + username: ENC(KO9kwXTPL1XJaMYHWxnbzA==) + password: ENC(Wx/75yN9OnFEhUDp+L+vUQwmGBiZlIyL) # password: qwer1234 # 从库数据源 slave: diff --git a/hyp-admin/src/main/resources/application.yml b/hyp-admin/src/main/resources/application.yml index 3e501d5..1c0ba0e 100644 --- a/hyp-admin/src/main/resources/application.yml +++ b/hyp-admin/src/main/resources/application.yml @@ -7,7 +7,7 @@ hyp: # 版权年份 copyrightYear: 2024 # 文件路径 示例( Windows配置D:/hyp/uploadPath,Linux配置 /home/hyp/uploadPath) - profile: D:/hyp/uploadPath + profile: /home/hyp/uploadPath # 获取ip地址开关 addressEnabled: false # 验证码类型 math 数字计算 char 字符验证 @@ -52,7 +52,7 @@ spring: # 国际化资源文件路径 basename: i18n/messages profiles: - active: dev + active: prod # 文件上传 servlet: multipart: