摘要: 1、idea新建springboot项目,添加web和security依赖,springboot版本是2.2.5,依赖的security版本是5.2.2: 2、添加一个测试的controller 3、不用加@EnableWebSecurity注解,直接启动项目,发现控制台打印: 4、访问http:/ 阅读全文
posted @ 2020-03-26 05:10 满分多少分啊 阅读(172) 评论(0) 推荐(0) 编辑