Procházet zdrojové kódy

同步新晃的开发环境

nahida před 1 rokem
rodič
revize
62bab538bd

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

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

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

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

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

@@ -1,9 +1,9 @@
 # 项目相关配置
 ruoyi:
   # 名称
-  name: RuoYi
+  name: 新晃
   # 版本
-  version: 3.8.8
+  version: 1.0.0
   # 版权年份
   copyrightYear: 2024
   # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
@@ -69,7 +69,7 @@ spring:
   # redis 配置
   redis:
     # 地址
-    host: localhost
+    host: 47.107.107.47
     # 端口,默认为6379
     port: 6379
     # 数据库索引

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

@@ -8,10 +8,10 @@ spring:
   cloud:
     sentinel:
       transport:
-        dashboard: 192.168.110.30:8090
+        dashboard: 47.107.107.47:8090
       http-method-specify: true
     nacos:
       discovery:
-        server-addr: 192.168.110.30:8848
-        namespace: 5d4109ea-3d63-47d2-ae99-2cc52b06eb1f
-      server-addr: 192.168.110.30:8848
+        server-addr: 47.107.107.47:8848
+        namespace: 630f2a98-b955-4861-ab57-ac6ec110ed04
+      server-addr: 47.107.107.47:8848

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

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

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

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

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

@@ -8,15 +8,15 @@ spring:
   cloud:
     sentinel:
       transport:
-        dashboard: 192.168.110.30:8090
+        dashboard: 47.107.107.47:8090
       http-method-specify: true
     nacos:
       discovery:
-        server-addr: 192.168.110.30:8848
-        namespace: 5d4109ea-3d63-47d2-ae99-2cc52b06eb1f
+        server-addr: 47.107.107.47:8848
+        namespace: 630f2a98-b955-4861-ab57-ac6ec110ed04
       config:
-        namespace: 5d4109ea-3d63-47d2-ae99-2cc52b06eb1f
-        server-addr: 192.168.110.30:8848
+        namespace: 630f2a98-b955-4861-ab57-ac6ec110ed04
+        server-addr: 47.107.107.47: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: 5d4109ea-3d63-47d2-ae99-2cc52b06eb1f
-      server-addr: 192.168.110.30
+        namespace: 630f2a98-b955-4861-ab57-ac6ec110ed04
+      server-addr: 47.107.107.47
       config:
         file-extension: yaml
         shared-configs:
           - dataId: xh-log.yaml # 共享日志配置
-        namespace: 5d4109ea-3d63-47d2-ae99-2cc52b06eb1f
+        namespace: 630f2a98-b955-4861-ab57-ac6ec110ed04