mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 08:13:44 +08:00 
			
		
		
		
	fix 修复 获取 bean 存在多个问题
This commit is contained in:
		@@ -33,7 +33,7 @@ public class ExcludeUrlProperties implements InitializingBean {
 | 
				
			|||||||
    @Override
 | 
					    @Override
 | 
				
			||||||
    public void afterPropertiesSet() {
 | 
					    public void afterPropertiesSet() {
 | 
				
			||||||
        String asterisk = "*";
 | 
					        String asterisk = "*";
 | 
				
			||||||
        RequestMappingHandlerMapping mapping = SpringUtils.getBean(RequestMappingHandlerMapping.class);
 | 
					        RequestMappingHandlerMapping mapping = SpringUtils.getBean("requestMappingHandlerMapping", RequestMappingHandlerMapping.class);
 | 
				
			||||||
        Map<RequestMappingInfo, HandlerMethod> map = mapping.getHandlerMethods();
 | 
					        Map<RequestMappingInfo, HandlerMethod> map = mapping.getHandlerMethods();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        map.keySet().forEach(info -> {
 | 
					        map.keySet().forEach(info -> {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user