|
|
@@ -8,7 +8,7 @@ server:
|
|
8
|
8
|
eureka:
|
|
9
|
9
|
client:
|
|
10
|
10
|
service-url:
|
|
11
|
|
- defaultZone: http://172.16.0.46:9511/eureka/
|
|
|
11
|
+ defaultZone: http://localhost:9001/eureka/
|
|
12
|
12
|
instance:
|
|
13
|
13
|
prefer-ip-address: true
|
|
14
|
14
|
# 每隔10s发送一次心跳(默认30s)
|
|
|
@@ -23,7 +23,7 @@ spring:
|
|
23
|
23
|
# 数据库配置
|
|
24
|
24
|
datasource:
|
|
25
|
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
|
27
|
username: root
|
|
28
|
28
|
password: 123456
|
|
29
|
29
|
# 缓存配置
|
|
|
@@ -31,10 +31,10 @@ spring:
|
|
31
|
31
|
store-type: redis
|
|
32
|
32
|
|
|
33
|
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
|
38
|
timeout: 3000
|
|
39
|
39
|
jedis:
|
|
40
|
40
|
pool:
|
|
|
@@ -58,3 +58,5 @@ spring:
|
|
58
|
58
|
web:
|
|
59
|
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
|