使用 Spring Security 的退出功能时,logout 报 404,这是因为在 security 的配置中加入了 <csrf/>,而在退出时使用了 get 方式,只要将 get 方式改为 post 即可