Ver código fonte

修改配置文件

hejinbo 2 anos atrás
pai
commit
362d433bb3

+ 3
- 3
ruoyi-admin/src/main/resources/application-druid.yml Ver arquivo

@@ -6,9 +6,9 @@ spring:
6 6
         druid:
7 7
             # 主库数据源
8 8
             master:
9
-                url: jdbc:mysql://localhost:3306/ruyivue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
10
-                username: ruyivue
11
-                password: rybackproje13689
9
+                url: jdbc:mysql://121.40.189.20:3306/arbitrate?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&useSSL=false
10
+                username: root
11
+                password: root123456
12 12
             # 从库数据源
13 13
             slave:
14 14
                 # 从数据源开关/默认关闭

+ 3
- 3
ruoyi-admin/src/main/resources/application.yml Ver arquivo

@@ -18,7 +18,7 @@ ruoyi:
18 18
 # 开发环境配置
19 19
 server:
20 20
   # 服务器的HTTP端口,默认为8080
21
-  port: 8080
21
+  port: 9001
22 22
   servlet:
23 23
     # 应用的访问路径
24 24
     context-path: /
@@ -70,9 +70,9 @@ spring:
70 70
   # redis 配置
71 71
   redis:
72 72
     # 地址
73
-    host: localhost
73
+    host: 121.40.189.20
74 74
     # 端口,默认为6379
75
-    port: 6379
75
+    port: 6389
76 76
     # 数据库索引
77 77
     database: 0
78 78
     # 密码