From 7298d5354963a88643a543b51b90192dc9fc934c Mon Sep 17 00:00:00 2001 From: doum <doum> Date: 星期四, 11 九月 2025 18:43:14 +0800 Subject: [PATCH] 最新版本541200007 --- server/system_gateway/src/main/resources/bootstrap.yml | 48 ++++++++---------------------------------------- 1 files changed, 8 insertions(+), 40 deletions(-) diff --git a/server/system_gateway/src/main/resources/bootstrap.yml b/server/system_gateway/src/main/resources/bootstrap.yml index d6bacc9..8ecd0a5 100644 --- a/server/system_gateway/src/main/resources/bootstrap.yml +++ b/server/system_gateway/src/main/resources/bootstrap.yml @@ -1,43 +1,11 @@ spring: + profiles: + active: dev application: name: system_gateway - cloud: - nacos: - server-addr: http://175.27.187.84:8848 #閰嶇疆Nacos鍦板潃 - username: nacos - password: nacos - discovery: - server-addr: http://175.27.187.84:8848 #閰嶇疆Nacos鍦板潃 - namespace: dmvisit - username: nacos - password: nacos - gateway: - discovery: - locator: - #寮�鍚粠娉ㄥ唽涓績鍔ㄦ�佸垱寤鸿矾鐢辩殑鍔熻兘锛屽埄鐢ㄥ井鏈嶅姟鍚嶈繘琛岃矾鐢� - enabled: true - #寮�鍚皬鍐欓獙璇侊紝榛樿feign鏍规嵁鏈嶅姟鍚嶆煡鎵鹃兘鏄敤鐨勫叏澶у啓 - lower-case-service-id: true - routes: - - id: meetingAdmin - uri: lb://meetingAdmin -# uri: http://localhost:10013 - # 鏂█,璺緞鐩稿尮閰嶇殑杩涜璺敱 - predicates: - - Path=/meetingAdmin/** - filters: - - StripPrefix=1 - - - id: visitsAdmin - uri: lb://visitsAdmin -# uri: http://localhost:10028 - # 鏂█,璺緞鐩稿尮閰嶇殑杩涜璺敱 - predicates: - - Path=/visitsAdmin/** - filters: - - StripPrefix=1 -management: - endpoints: - web: - exposure: - include: "*" + # 瀹夊叏閰嶇疆 + security: + # 楠岀鍏挜鍦板潃 + oauth2: + authorizationserver: + token-uri: https:// \ No newline at end of file -- Gitblit v1.9.3