From 430addf5203b744cdd3c0b5755fe6165d0f535d4 Mon Sep 17 00:00:00 2001
From: kdyzm <zhengrongjun@haier.com>
Date: 星期三, 02 六月 2021 16:40:58 +0800
Subject: [PATCH] 【优化】为代码生成器生成的前端代码添加loading;删除方法回调函数变更为箭头表达式

---
 ruoyi-framework/src/main/java/com/ruoyi/framework/config/SwaggerConfig.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SwaggerConfig.java b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SwaggerConfig.java
index 92e3976..1a92ca0 100644
--- a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SwaggerConfig.java
+++ b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SwaggerConfig.java
@@ -51,7 +51,8 @@
 			.build()
 			/* 璁剧疆瀹夊叏妯″紡锛宻wagger鍙互璁剧疆璁块棶token */
 			.securitySchemes(securitySchemes())
-			.securityContexts(securityContexts());
+			.securityContexts(securityContexts())
+			.pathMapping(swaggerProperties.getPathMapping());
 	}
 
 	/**

--
Gitblit v1.9.3