From 8a8aff34125e2874005d0f9c3ac8ec4ac6354f42 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期三, 02 七月 2025 14:44:13 +0800
Subject: [PATCH] 解决gateway启动异常

---
 se-gateway/src/main/resources/bootstrap.yml |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/se-gateway/src/main/resources/bootstrap.yml b/se-gateway/src/main/resources/bootstrap.yml
index c10a471..589c109 100644
--- a/se-gateway/src/main/resources/bootstrap.yml
+++ b/se-gateway/src/main/resources/bootstrap.yml
@@ -7,6 +7,8 @@
   application:
     # 搴旂敤鍚嶇О
     name: se-gateway
+  main:
+    web-application-type: reactive
   profiles:
     # 鐜閰嶇疆
     active: dev
@@ -18,13 +20,15 @@
         # 鏈嶅姟娉ㄥ唽鍦板潃
         server-addr: 127.0.0.1:8848
       config:
+        group: JHS_GROUP
         # 閰嶇疆涓績鍦板潃
         server-addr: 127.0.0.1:8848
         # 閰嶇疆鏂囦欢鏍煎紡
         file-extension: yml
         # 鍏变韩閰嶇疆
         shared-configs:
-          - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
+          - data-id: application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
+            group: JHS_GROUP
     sentinel:
       # 鍙栨秷鎺у埗鍙版噿鍔犺浇
       eager: true

--
Gitblit v1.9.3