From 1eeed86b6549bee4f09ea90de00ff0e0056f5fd9 Mon Sep 17 00:00:00 2001
From: Gelis <806938079@qq.com>
Date: Fri, 24 Feb 2023 16:56:26 +0800
Subject: [PATCH] 修复注释 @EnableCustomSwagger2 后,项目启动失败

---
 ruoyi-gateway/src/main/resources/bootstrap.yml |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/ruoyi-gateway/src/main/resources/bootstrap.yml b/ruoyi-gateway/src/main/resources/bootstrap.yml
index 0aa81c2..b6dc98a 100644
--- a/ruoyi-gateway/src/main/resources/bootstrap.yml
+++ b/ruoyi-gateway/src/main/resources/bootstrap.yml
@@ -10,8 +10,6 @@
   profiles:
     # 环境配置
     active: dev
-  main:
-    allow-bean-definition-overriding: true
   cloud:
     nacos:
       discovery:
@@ -39,4 +37,4 @@
             dataId: sentinel-ruoyi-gateway
             groupId: DEFAULT_GROUP
             data-type: json
-            rule-type: flow
+            rule-type: gw-flow

--
Gitblit v1.9.3