某个目录下允许不登录访问
.antMatchers("/activity/index").anonymous()
但是传了token 反而报403
改成
.antMatchers("/activity/index").permitAll()
就可以了
https://www.nuomiphp.com/t/61f38fa86e8778284d5afab9.html
某个目录下允许不登录访问
.antMatchers("/activity/index").anonymous()
但是传了token 反而报403
改成
.antMatchers("/activity/index").permitAll()
就可以了
https://www.nuomiphp.com/t/61f38fa86e8778284d5afab9.html