csg6 1 year ago
parent
commit
01b70c9a2e

+ 1 - 0
RuoYi-Vue-master/RuoYi-Vue-master/ruoyi-admin/src/main/resources/application-druid-test.yml

@@ -7,6 +7,7 @@ spring:
7
             # 主库数据源
7
             # 主库数据源
8
             master:
8
             master:
9
                 url: jdbc:mysql://47.109.88.180:13306/double_defense?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
9
                 url: jdbc:mysql://47.109.88.180:13306/double_defense?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
10
+#                url: jdbc:mysql://localhost:13306/double_defense?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
10
                 username: root
11
                 username: root
11
                 password: eitc@gnhz
12
                 password: eitc@gnhz
12
             # 从库数据源
13
             # 从库数据源

+ 7 - 7
RuoYi-Vue-master/RuoYi-Vue-master/ruoyi-admin/src/main/resources/application.yml

@@ -2,16 +2,17 @@
2
 # 项目相关配置
2
 # 项目相关配置
3
 ruoyi:
3
 ruoyi:
4
   # 名称
4
   # 名称
5
-  name: RuoYi
5
+  name: eitc
6
   # 版本
6
   # 版本
7
-  version: 3.8.6
7
+  version: 1.0.0
8
   # 版权年份
8
   # 版权年份
9
   copyrightYear: 2023
9
   copyrightYear: 2023
10
   # 实例演示开关
10
   # 实例演示开关
11
   demoEnabled: true
11
   demoEnabled: true
12
   # 文件路径 文件上传路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
12
   # 文件路径 文件上传路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
13
-#  profile: /opt/app/uploadPath
14
-  profile: C:/test/gnhz/shuangkong
13
+  profile: /opt/app/uploadPath
14
+#  profile: C:/test/gnhz/shuangkong
15
+#  profile: C:/test/gnhz/shuangkong_linux
15
   # 获取ip地址开关
16
   # 获取ip地址开关
16
   addressEnabled: false
17
   addressEnabled: false
17
   # 验证码类型 math 数字计算 char 字符验证
18
   # 验证码类型 math 数字计算 char 字符验证
@@ -56,9 +57,8 @@ spring:
56
     # 国际化资源文件路径
57
     # 国际化资源文件路径
57
     basename: i18n/messages
58
     basename: i18n/messages
58
   profiles:
59
   profiles:
59
-#    active: druid-test
60
-    active: druid-dev
61
-  # 文件上传
60
+    active: druid-test
61
+#    active: druid-dev
62
   servlet:
62
   servlet:
63
     multipart:
63
     multipart:
64
       # 单个文件大小
64
       # 单个文件大小