当使用人人开源,用浏览器或者postman访问500错误,报权限异常时,需要在shiroconfig中配置 filterMap.put("/swagger-ui.html", “anon”);
添加上自己的路径接口,再次访问就可以了,如果还不行,看看接口上是否有 @RequiresPermissions注解,如果有去掉再次访问就可以了
当使用人人开源,用浏览器或者postman访问500错误,报权限异常时,需要在shiroconfig中配置 filterMap.put("/swagger-ui.html", “anon”);
添加上自己的路径接口,再次访问就可以了,如果还不行,看看接口上是否有 @RequiresPermissions注解,如果有去掉再次访问就可以了