From ad4c2b5de789439e25eedc68e2d7f0beda1fdb4c Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期四, 27 六月 2024 15:13:53 +0800
Subject: [PATCH] feat:批量审核

---
 ycl-server/src/main/java/com/ycl/properties/PermitAllUrlProperties.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ycl-server/src/main/java/com/ycl/properties/PermitAllUrlProperties.java b/ycl-server/src/main/java/com/ycl/properties/PermitAllUrlProperties.java
index a924f8d..f876a8f 100644
--- a/ycl-server/src/main/java/com/ycl/properties/PermitAllUrlProperties.java
+++ b/ycl-server/src/main/java/com/ycl/properties/PermitAllUrlProperties.java
@@ -34,7 +34,7 @@
     @Override
     public void afterPropertiesSet()
     {
-        RequestMappingHandlerMapping mapping = applicationContext.getBean(RequestMappingHandlerMapping.class);
+        RequestMappingHandlerMapping mapping = applicationContext.getBean("requestMappingHandlerMapping",RequestMappingHandlerMapping.class);
         Map<RequestMappingInfo, HandlerMethod> map = mapping.getHandlerMethods();
 
         map.keySet().forEach(info -> {

--
Gitblit v1.8.0