Alex 4 سال پیش
والد
کامیت
6565c9d1f1

+ 4 - 4
ruoyi-admin/src/main/resources/application-prop.yml

@@ -6,9 +6,9 @@ spring:
         druid:
             # 主库数据源
             master:
-                url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true
+                url: jdbc:mysql://localhost:3306/lineage?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true
                 username: root
-                password: root
+                password: Wumao@520
             # 从库数据源
             slave:
                 # 从数据源开关/默认关闭
@@ -58,11 +58,11 @@ spring:
     # redis 配置
     redis:
         # 地址
-        host: 192.168.0.222
+        host: localhost
         # 端口,默认为6379
         port: 6379
         # 密码
-        password:
+        password: wm123456
         # 连接超时时间
         timeout: 10s
         lettuce:

+ 4 - 4
ruoyi-admin/src/main/resources/application.yml

@@ -1,15 +1,15 @@
 # 项目相关配置
 ruoyi:
   # 名称
-  name: RuoYi
+  name: lineage
   # 版本
   version: 3.1.0
   # 版权年份
-  copyrightYear: 2019
+  copyrightYear: 2020
   # 实例演示开关
   demoEnabled: true
   # 文件路径,使用jvm系统变量,兼容windows和linux;
-  profile: ${user.dir}/lineage/uploadPath
+  profile: /usr/app/lineage/uploadPath
 #  profile: D:/ruoyi/uploadPath
   # 获取ip地址开关
   addressEnabled: false
@@ -47,7 +47,7 @@ spring:
     # 国际化资源文件路径
     basename: i18n/messages
   profiles: 
-    active: dev
+    active: prop
   # 文件上传
   servlet:
      multipart:

+ 4 - 4
ruoyi-app/src/main/resources/application-prop.yml

@@ -6,9 +6,9 @@ spring:
         druid:
             # 主库数据源
             master:
-                url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true
+                url: jdbc:mysql://localhost:3306/lineage?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true
                 username: root
-                password: root
+                password: Wumao@520
             # 从库数据源
             slave:
                 # 从数据源开关/默认关闭
@@ -58,11 +58,11 @@ spring:
     # redis 配置
     redis:
         # 地址
-        host: 192.168.0.222
+        host: localhost
         # 端口,默认为6379
         port: 6379
         # 密码
-        password:
+        password: wm123456
         # 连接超时时间
         timeout: 10s
         lettuce: