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");

添加配置

请移步原文: http://blog.maptoface.com/post/139

你可能感兴趣的:(springboot)