Browse Source

修改配置文件

hanqingsong 2 years ago
parent
commit
6b6f2a5f1f
1 changed files with 7 additions and 7 deletions
  1. 7 7
      src/main/resources/bootstrap.yml

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

@@ -1,6 +1,6 @@
1 1
 spring:
2 2
   profiles:
3
-    active: locala
3
+    active: clouda
4 4
   servlet:
5 5
     multipart:
6 6
       #单个文件上传大小
@@ -79,7 +79,7 @@ num_version3: :20013
79 79
 eureka:
80 80
   client:
81 81
     service-url:
82
-      defaultZone: http://121.37.6.72:9811/eureka/
82
+      defaultZone: http://127.0.0.1:9001/eureka/
83 83
   instance:
84 84
     prefer-ip-address: true
85 85
     lease-renewal-interval-in-seconds: 10
@@ -92,17 +92,17 @@ spring:
92 92
   # 数据库配置
93 93
   datasource:
94 94
     driver-class-name: com.mysql.cj.jdbc.Driver
95
-    url: jdbc:mysql://121.37.6.72:3306/depot-neimeng?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTC
95
+    url: jdbc:mysql://127.0.0.1:3306/depot?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTC
96 96
     username: root
97
-    password: Huawei1234%^&*
97
+    password: root
98 98
   # 缓存配置
99 99
   session:
100 100
     store-type: redis
101 101
   redis:
102 102
     database: 1
103
-    host: 121.37.6.72
103
+    host: 127.0.0.1
104 104
     port: 6379
105
-    password: 123456
105
+    password:
106 106
     timeout: 3000ms
107 107
     jedis:
108 108
       pool:
@@ -117,7 +117,7 @@ spring:
117 117
     date-format: yyyy-MM-dd HH:mm:ss
118 118
     time-zone: GMT+8
119 119
 web:
120
-  upload-path: /home
120
+  upload-path: D:/home/
121 121
 
122 122
 #socket或http地址
123 123
 protocol-type: http