Browse Source

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

test
smallchill 5 years ago
parent
commit
dfef245bde
  1. 11
      blade-gateway/src/main/resources/bootstrap.yml
  2. 8
      doc/nacos/blade-prod.yaml
  3. 8
      doc/nacos/blade-test.yaml

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
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
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

Loading…
Cancel
Save