Kaynağa Gözat

修改为测试环境的环境变量

nahida 1 yıl önce
ebeveyn
işleme
e46b12d743

+ 2 - 2
background-service/zksy-admin/src/main/resources/application-dev.yml

@@ -1,6 +1,6 @@
 minio:
-    endpoint: http://47.107.107.47:9000
+    endpoint: http://192.168.110.30:9000
     accessKey: minio
     secretKey: minio123
     bucket: zksy-file
-    readPath: http://47.107.107.47:9000
+    readPath: http://192.168.110.30:9000

+ 1 - 1
background-service/zksy-admin/src/main/resources/application-druid.yml

@@ -6,7 +6,7 @@ spring:
         druid:
             # 主库数据源
             master:
-                url: jdbc:mysql://47.107.107.47:3307/xh_credit_rating?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+                url: jdbc:mysql://192.168.110.30:3307/xh_credit_rating?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
                 username: root
                 password: 123
             # 从库数据源

+ 6 - 6
background-service/zksy-admin/src/main/resources/bootstrap.yaml

@@ -9,16 +9,16 @@ spring:
   cloud:
     sentinel:
       transport:
-        dashboard: 47.107.107.47:8090
+        dashboard: 192.168.110.30:8090
       http-method-specify: true
     nacos:
       discovery:
-        server-addr: 47.107.107.47:8848
-        namespace: 630f2a98-b955-4861-ab57-ac6ec110ed04
-      server-addr: 47.107.107.47:8848
+        server-addr: 192.168.110.30:8848
+        namespace: 5d4109ea-3d63-47d2-ae99-2cc52b06eb1f
+      server-addr: 192.168.110.30:8848
       config:
-        namespace: 630f2a98-b955-4861-ab57-ac6ec110ed04
-        server-addr: 47.107.107.47:8848
+        namespace: 5d4109ea-3d63-47d2-ae99-2cc52b06eb1f
+        server-addr: 192.168.110.30:8848
         file-extension: yaml
         shared-configs:
           - dataId: background-service.yaml

+ 4 - 4
data-service/src/main/resources/application-dev.yaml

@@ -1,16 +1,16 @@
 zksy:
   db:
-    host: 47.107.107.47
+    host: 192.168.110.30
     un: root
-    pw: 3EZ8TYbzCjiMjsn7@.
+    pw: 123
     port: 3307
     database: xh_credit_rating
 minio:
-  endpoint: http://47.107.107.47:9000
+  endpoint: http://192.168.110.30:9000
   accessKey: minio
   secretKey: minio123
   bucket: zksy-file
-  readPath: http://47.107.107.47:9000
+  readPath: http://192.168.110.30:9000
 
 
 

+ 5 - 5
data-service/src/main/resources/application-prod.yaml

@@ -1,17 +1,17 @@
 zksy:
   db:
-    host: 47.107.107.47
+    host: 192.168.110.30
     un: root
-    pw: 3EZ8TYbzCjiMjsn7@.
+    pw: 123
     port: 3307
     database: xh_credit_rating
 spring:
   redis:
-    host: 47.107.107.47
+    host: 192.168.110.30
     port: 6379
 minio:
-  endpoint: http://47.107.107.47:9000
+  endpoint: http://192.168.110.30:9000
   accessKey: minio
   secretKey: minio123
   bucket: test
-  readPath: http://47.107.107.47:9000
+  readPath: http://192.168.110.30:9000

+ 5 - 5
data-service/src/main/resources/bootstrap.yaml

@@ -8,15 +8,15 @@ spring:
   cloud:
     sentinel:
       transport:
-        dashboard: 47.107.107.47:8090
+        dashboard: 192.168.110.30:8090
       http-method-specify: true
     nacos:
       discovery:
-        server-addr: 47.107.107.47:8848
-        namespace: 630f2a98-b955-4861-ab57-ac6ec110ed04
+        server-addr: 192.168.110.30:8848
+        namespace: 5d4109ea-3d63-47d2-ae99-2cc52b06eb1f
       config:
-        namespace: 630f2a98-b955-4861-ab57-ac6ec110ed04
-        server-addr: 47.107.107.47:8848
+        namespace: 5d4109ea-3d63-47d2-ae99-2cc52b06eb1f
+        server-addr: 192.168.110.30:8848
         file-extension: yaml
         shared-configs:
           - dataId: data-service.yaml

+ 3 - 3
xh-gateway/src/main/resources/bootstrap.yaml

@@ -5,10 +5,10 @@ spring:
   cloud:
     nacos:
       discovery:
-        namespace: 630f2a98-b955-4861-ab57-ac6ec110ed04
-      server-addr: 47.107.107.47
+        namespace: 5d4109ea-3d63-47d2-ae99-2cc52b06eb1f
+      server-addr: 192.168.110.30
       config:
         file-extension: yaml
         shared-configs:
           - dataId: xh-log.yaml # 共享日志配置
-        namespace: 630f2a98-b955-4861-ab57-ac6ec110ed04
+        namespace: 5d4109ea-3d63-47d2-ae99-2cc52b06eb1f