|
|
@@ -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://121.37.6.72:9811/eureka/
|
|
12
|
12
|
instance:
|
|
13
|
13
|
prefer-ip-address: true
|
|
14
|
14
|
# 每隔10s发送一次心跳(默认30s)
|
|
|
@@ -23,9 +23,9 @@ 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://121.37.6.72:3306/depot-neimeng?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8
|
|
27
|
27
|
username: root
|
|
28
|
|
- password: 123456
|
|
|
28
|
+ password: Huawei1234%^&*
|
|
29
|
29
|
#验证连接是否有效。此参数必须设置为非空字符串,下面三项设置成true才能生效
|
|
30
|
30
|
validationQuery: SELECT 1
|
|
31
|
31
|
#指明连接是否被空闲连接回收器(如果有)进行检验.如果检测失败,则连接将被从池中去除.
|
|
|
@@ -40,9 +40,9 @@ spring:
|
|
40
|
40
|
|
|
41
|
41
|
redis:
|
|
42
|
42
|
database: 1
|
|
43
|
|
- host: 172.16.0.46
|
|
44
|
|
- port: 6679
|
|
45
|
|
- password: 123456
|
|
|
43
|
+ host: 121.37.6.72
|
|
|
44
|
+ port: 6379
|
|
|
45
|
+ password:
|
|
46
|
46
|
timeout: 3000
|
|
47
|
47
|
jedis:
|
|
48
|
48
|
pool:
|