Browse Source

change ip

kid 2 years ago
parent
commit
5065154e47

+ 2 - 2
DB/li_notice_message.sql

@@ -1,10 +1,10 @@
1 1
 /*
2 2
  Navicat MySQL Data Transfer
3 3
 
4
- Source Server         : 192.168.0.116
4
+ Source Server         : 127.0.0.1
5 5
  Source Server Type    : MySQL
6 6
  Source Server Version : 80023
7
- Source Host           : 192.168.0.116:3306
7
+ Source Host           : 127.0.0.1:3306
8 8
  Source Schema         : lilishop
9 9
 
10 10
  Target Server Type    : MySQL

+ 2 - 2
DB/version4.2to4.2.2.sql

@@ -1,10 +1,10 @@
1 1
 /*
2 2
  Navicat Premium Data Transfer
3 3
 
4
- Source Server         : 192.168.0.116
4
+ Source Server         : 127.0.0.1
5 5
  Source Server Type    : MySQL
6 6
  Source Server Version : 80023
7
- Source Host           : 192.168.0.116:3306
7
+ Source Host           : 127.0.0.1:3306
8 8
  Source Schema         : lilishop
9 9
 
10 10
  Target Server Type    : MySQL

+ 1 - 1
buyer-api/src/main/resources/application.yml

@@ -253,7 +253,7 @@ lili:
253 253
     #        username: elastic
254 254
     #        password: LiLiShopES
255 255
     logstash:
256
-      server: 192.168.0.116:4560
256
+      server: 127.0.0.1:4560
257 257
     rocketmq:
258 258
       promotion-topic: lili_promotion_topic
259 259
       promotion-group: lili_promotion_group

+ 14 - 14
buyer-api/src/test/resources/application.yml

@@ -24,15 +24,15 @@ spring:
24 24
   boot:
25 25
     admin:
26 26
       client:
27
-        url: http://192.168.0.116:8000
27
+        url: http://127.0.0.1:8000
28 28
   cache:
29 29
     type: redis
30 30
   #amqp
31 31
   #  rabbitmq:
32
-  #    host: 192.168.0.116
32
+  #    host: 127.0.0.1
33 33
   # Redis
34 34
   redis:
35
-    host: 192.168.0.116
35
+    host: 127.0.0.1
36 36
     port: 6379
37 37
     password: lilishop
38 38
     lettuce:
@@ -63,7 +63,7 @@ spring:
63 63
       default-datasource:
64 64
         type: com.alibaba.druid.pool.DruidDataSource
65 65
         driverClassName: com.mysql.cj.jdbc.Driver
66
-        url: jdbc:mysql://192.168.0.116:3306/new-lili?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
66
+        url: jdbc:mysql://127.0.0.1:3306/new-lili?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
67 67
         username: root
68 68
         password: lilishop
69 69
         maxActive: 20
@@ -202,16 +202,16 @@ lili:
202 202
     sk: zhNKVrJK6UPOhqIjn8AQvG37b9sz6
203 203
   #域名
204 204
   domain:
205
-    pc: http://192.168.0.116:8888
206
-    wap: http://192.168.0.116:8888
207
-    seller: http://192.168.0.116:8888
208
-    admin: http://192.168.0.116:8888
205
+    pc: http://127.0.0.1:8888
206
+    wap: http://127.0.0.1:8888
207
+    seller: http://127.0.0.1:8888
208
+    admin: http://127.0.0.1:8888
209 209
   #api地址
210 210
   api:
211 211
     buyer: https://z171l91606.51mypc.cn
212
-    base: http://192.168.0.116:8888
213
-    manager: http://192.168.0.116:8888
214
-    seller: http://192.168.0.116:8888
212
+    base: http://127.0.0.1:8888
213
+    manager: http://127.0.0.1:8888
214
+    seller: http://127.0.0.1:8888
215 215
 
216 216
   # jwt 细节设定
217 217
   jwt-setting:
@@ -230,7 +230,7 @@ lili:
230 230
   data:
231 231
     elasticsearch:
232 232
       cluster-name: elasticsearch
233
-      cluster-nodes: 192.168.0.116:9200
233
+      cluster-nodes: 127.0.0.1:9200
234 234
       index:
235 235
         number-of-replicas: 0
236 236
         number-of-shards: 3
@@ -259,7 +259,7 @@ lili:
259 259
       notice-send-topic: lili_send_notice_topic
260 260
       notice-send-group: lili_send_notice_group
261 261
 rocketmq:
262
-  name-server: 192.168.0.116:9876
262
+  name-server: 127.0.0.1:9876
263 263
   producer:
264 264
     group: lili_group
265 265
     send-message-timeout: 30000
@@ -267,7 +267,7 @@ rocketmq:
267 267
 xxl:
268 268
   job:
269 269
     admin:
270
-      addresses: http://192.168.0.116:9001/xxl-job-admin
270
+      addresses: http://127.0.0.1:9001/xxl-job-admin
271 271
     executor:
272 272
       appname: xxl-job-executor-lilishop
273 273
       address:

+ 7 - 7
config/application.yml

@@ -240,16 +240,16 @@ lili:
240 240
     sk: zhNKVrJK6UPOhqIjn8AQvG37b9sz6
241 241
   #域名
242 242
   domain:
243
-    pc: http://192.168.0.116:8888
244
-    wap: http://192.168.0.116:8888
245
-    seller: http://192.168.0.116:8888
246
-    admin: http://192.168.0.116:8888
243
+    pc: http://127.0.0.1:8888
244
+    wap: http://127.0.0.1:8888
245
+    seller: http://127.0.0.1:8888
246
+    admin: http://127.0.0.1:8888
247 247
   #api地址
248 248
   api:
249 249
     buyer: https://z171l91606.51mypc.cn
250
-    base: http://192.168.0.116:8888
251
-    manager: http://192.168.0.116:8888
252
-    seller: http://192.168.0.116:8888
250
+    base: http://127.0.0.1:8888
251
+    manager: http://127.0.0.1:8888
252
+    seller: http://127.0.0.1:8888
253 253
 
254 254
   # jwt 细节设定
255 255
   jwt-setting: