使用Spring Security 实现了登陆返回令牌
然后,我想着使用令牌去访问给拦截了得请求URL,但是还是提示没有权限
这是为什么呢,求思路或者教程
会不会你拦截了的请求设置的权限,是你登陆的这个用户没有的
https://www.cnblogs.com/softidea/p/7074838.html
@Controller
public class SysPageController {
@RequestMapping("{module}/{url}.html")
public String page(@PathVariable("module") String module, @PathVariable("url") String url){
return module + "/" + url + ".html";
}
}