From 9590de2c1971b596c047deddd926c2b80ade2c67 Mon Sep 17 00:00:00 2001 From: kdyzm <zhengrongjun@haier.com> Date: 星期三, 02 六月 2021 17:08:00 +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