From 362ec4c6c00747fb869b97ad3f0f3ce12b3e47aa Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期四, 10 十月 2024 15:15:46 +0800
Subject: [PATCH] 代码初始化
---
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