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
  Navicat MySQL Data Transfer
2
  Navicat MySQL Data Transfer
3
 
3
 
4
- Source Server         : 192.168.0.116
4
+ Source Server         : 127.0.0.1
5
  Source Server Type    : MySQL
5
  Source Server Type    : MySQL
6
  Source Server Version : 80023
6
  Source Server Version : 80023
7
- Source Host           : 192.168.0.116:3306
7
+ Source Host           : 127.0.0.1:3306
8
  Source Schema         : lilishop
8
  Source Schema         : lilishop
9
 
9
 
10
  Target Server Type    : MySQL
10
  Target Server Type    : MySQL

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

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

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

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

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

@@ -24,15 +24,15 @@ spring:
24
   boot:
24
   boot:
25
     admin:
25
     admin:
26
       client:
26
       client:
27
-        url: http://192.168.0.116:8000
27
+        url: http://127.0.0.1:8000
28
   cache:
28
   cache:
29
     type: redis
29
     type: redis
30
   #amqp
30
   #amqp
31
   #  rabbitmq:
31
   #  rabbitmq:
32
-  #    host: 192.168.0.116
32
+  #    host: 127.0.0.1
33
   # Redis
33
   # Redis
34
   redis:
34
   redis:
35
-    host: 192.168.0.116
35
+    host: 127.0.0.1
36
     port: 6379
36
     port: 6379
37
     password: lilishop
37
     password: lilishop
38
     lettuce:
38
     lettuce:
@@ -63,7 +63,7 @@ spring:
63
       default-datasource:
63
       default-datasource:
64
         type: com.alibaba.druid.pool.DruidDataSource
64
         type: com.alibaba.druid.pool.DruidDataSource
65
         driverClassName: com.mysql.cj.jdbc.Driver
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
         username: root
67
         username: root
68
         password: lilishop
68
         password: lilishop
69
         maxActive: 20
69
         maxActive: 20
@@ -202,16 +202,16 @@ lili:
202
     sk: zhNKVrJK6UPOhqIjn8AQvG37b9sz6
202
     sk: zhNKVrJK6UPOhqIjn8AQvG37b9sz6
203
   #域名
203
   #域名
204
   domain:
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
   #api地址
209
   #api地址
210
   api:
210
   api:
211
     buyer: https://z171l91606.51mypc.cn
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
   # jwt 细节设定
216
   # jwt 细节设定
217
   jwt-setting:
217
   jwt-setting:
@@ -230,7 +230,7 @@ lili:
230
   data:
230
   data:
231
     elasticsearch:
231
     elasticsearch:
232
       cluster-name: elasticsearch
232
       cluster-name: elasticsearch
233
-      cluster-nodes: 192.168.0.116:9200
233
+      cluster-nodes: 127.0.0.1:9200
234
       index:
234
       index:
235
         number-of-replicas: 0
235
         number-of-replicas: 0
236
         number-of-shards: 3
236
         number-of-shards: 3
@@ -259,7 +259,7 @@ lili:
259
       notice-send-topic: lili_send_notice_topic
259
       notice-send-topic: lili_send_notice_topic
260
       notice-send-group: lili_send_notice_group
260
       notice-send-group: lili_send_notice_group
261
 rocketmq:
261
 rocketmq:
262
-  name-server: 192.168.0.116:9876
262
+  name-server: 127.0.0.1:9876
263
   producer:
263
   producer:
264
     group: lili_group
264
     group: lili_group
265
     send-message-timeout: 30000
265
     send-message-timeout: 30000
@@ -267,7 +267,7 @@ rocketmq:
267
 xxl:
267
 xxl:
268
   job:
268
   job:
269
     admin:
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
     executor:
271
     executor:
272
       appname: xxl-job-executor-lilishop
272
       appname: xxl-job-executor-lilishop
273
       address:
273
       address:

+ 7 - 7
config/application.yml

@@ -240,16 +240,16 @@ lili:
240
     sk: zhNKVrJK6UPOhqIjn8AQvG37b9sz6
240
     sk: zhNKVrJK6UPOhqIjn8AQvG37b9sz6
241
   #域名
241
   #域名
242
   domain:
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
   #api地址
247
   #api地址
248
   api:
248
   api:
249
     buyer: https://z171l91606.51mypc.cn
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
   # jwt 细节设定
254
   # jwt 细节设定
255
   jwt-setting:
255
   jwt-setting: