Преглед изворни кода

:tada: 将gateway聚合文档配置默认为nacos读取

smallchill пре 6 година
родитељ
комит
dfef245bde
3 измењених фајлова са 16 додато и 11 уклоњено
  1. 0 11
      blade-gateway/src/main/resources/bootstrap.yml
  2. 8 0
      doc/nacos/blade-prod.yaml
  3. 8 0
      doc/nacos/blade-test.yaml

+ 0 - 11
blade-gateway/src/main/resources/bootstrap.yml

@@ -10,14 +10,3 @@ spring:
     loadbalancer:
       retry:
         enabled: true
-
-# 聚合文档配置
-blade:
-  document:
-    resources:
-      - name: 授权模块
-        location: /blade-auth
-      - name: 工作台模块
-        location: /blade-desk
-      - name: 系统模块
-        location: /blade-system

+ 8 - 0
doc/nacos/blade-prod.yaml

@@ -38,3 +38,11 @@ blade:
       url: jdbc:mysql://192.168.0.157:3306/bladex?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true
       username: root
       password: root
+  document:
+    resources:
+      - name: 授权模块
+        location: /blade-auth
+      - name: 工作台模块
+        location: /blade-desk
+      - name: 系统模块
+        location: /blade-system

+ 8 - 0
doc/nacos/blade-test.yaml

@@ -36,3 +36,11 @@ blade:
       url: jdbc:mysql://192.168.0.157:3306/bladex?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true
       username: root
       password: root
+  document:
+    resources:
+      - name: 授权模块
+        location: /blade-auth
+      - name: 工作台模块
+        location: /blade-desk
+      - name: 系统模块
+        location: /blade-system