新版本csrf().disable()已经弃用

新的方法是

http.csrf(csrf-> csrf.disable());来关闭csrf进行测试
Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐