shiro整合swagger解决,swagger界面空白,网上配置有问题,亲测有效

//swagger2
		filterChainDefinitionMap.put("/swagger-ui.html", "anon");
		filterChainDefinitionMap.put("/swagger-resources/**", "anon");
		filterChainDefinitionMap.put("/v2/api-docs/**", "anon");
		filterChainDefinitionMap.put("/webjars/springfox-swagger-ui/**", "anon");

添加配置

猜你喜欢

转载自blog.csdn.net/qq_31293575/article/details/81868467
今日推荐