Explorar el Código

熏蒸问题修改

lvzhikai hace 5 años
padre
commit
829525b336
Se han modificado 1 ficheros con 6 adiciones y 6 borrados
  1. 6 6
      src/main/resources/bootstrap.yml

+ 6 - 6
src/main/resources/bootstrap.yml

@@ -7,7 +7,7 @@ server:
7 7
 eureka:
8 8
   client:
9 9
     service-url:
10
-      defaultZone: http://eureka-depot-sx:9001/eureka/
10
+      defaultZone: http://localhost:9001/eureka/
11 11
   instance:
12 12
     prefer-ip-address: true
13 13
     # 每隔10s发送一次心跳(默认30s)
@@ -21,7 +21,7 @@ spring:
21 21
   # 数据库配置
22 22
   datasource:
23 23
     driverClassName: com.mysql.cj.jdbc.Driver
24
-    url: jdbc:mysql://192.168.123.38:3306/depot_shanxi?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8
24
+    url: jdbc:mysql://localhost:3306/depot_shanxi?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8
25 25
     username: root
26 26
     password: 123456
27 27
   # 缓存配置
@@ -29,9 +29,9 @@ spring:
29 29
     store-type: redis
30 30
   redis:
31 31
     database: 1
32
-    host: 192.168.123.98
33
-    port: 6666
34
-    password: depotredis
32
+    host: localhost
33
+    port: 6379
34
+    password:
35 35
     timeout: 3000
36 36
     jedis:
37 37
       pool:
@@ -47,7 +47,7 @@ web:
47 47
   upload-path: /home/depot/depot-web/apache-tomcat-8.0.53/webapps/ROOT/WEB-INF/classes/static
48 48
 
49 49
 #设置全局变量判断是云端还是库端;1云端,2本地
50
-localOrCloud: 1
50
+localOrCloud: 2
51 51
 
52 52
 #设置出入库连接
53 53
 forTheConnection: http://218.241.206.66:14201/Base/Login_checkLogin.action