larry лет назад: 5
Родитель
Сommit
d0f9bdde7a
1 измененных файлов с 8 добавлено и 6 удалено
  1. 8 6
      src/main/resources/bootstrap.yml

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

@@ -8,7 +8,7 @@ server:
8
 eureka:
8
 eureka:
9
   client:
9
   client:
10
     service-url:
10
     service-url:
11
-      defaultZone: http://172.16.0.46:9511/eureka/
11
+      defaultZone: http://localhost:9001/eureka/
12
   instance:
12
   instance:
13
     prefer-ip-address: true
13
     prefer-ip-address: true
14
     # 每隔10s发送一次心跳(默认30s)
14
     # 每隔10s发送一次心跳(默认30s)
@@ -23,7 +23,7 @@ spring:
23
   # 数据库配置
23
   # 数据库配置
24
   datasource:
24
   datasource:
25
     driverClassName: com.mysql.jdbc.Driver
25
     driverClassName: com.mysql.jdbc.Driver
26
-    url: jdbc:mysql://172.16.0.46:3306/depot-yunnan?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8
26
+    url: jdbc:mysql://localhost:3306/depot_yunnan?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8
27
     username: root
27
     username: root
28
     password: 123456
28
     password: 123456
29
   # 缓存配置
29
   # 缓存配置
@@ -31,10 +31,10 @@ spring:
31
     store-type: redis
31
     store-type: redis
32
 
32
 
33
   redis:
33
   redis:
34
-    database: 1
35
-    host: 172.16.0.46
36
-    port: 6679
37
-    password: 123456
34
+    database: 0
35
+    host: localhost
36
+    port: 6379
37
+    password:
38
     timeout: 3000
38
     timeout: 3000
39
     jedis:
39
     jedis:
40
       pool:
40
       pool:
@@ -58,3 +58,5 @@ spring:
58
 web:
58
 web:
59
   upload-path: /home/depot/depot-web/apache-tomcat-8.0.53/webapps/ROOT/WEB-INF/classes/static
59
   upload-path: /home/depot/depot-web/apache-tomcat-8.0.53/webapps/ROOT/WEB-INF/classes/static
60
 
60
 
61
+cxf:
62
+  path: /basic