- 在 SecurityConfig 中添加 .logout().disable() - 解决自定义 /logout 接口被 Security 拦截导致 302 重定向问题 - 现在可以正常调用 LoginController.logout() 返回 JSON |
||
|---|---|---|
| .. | ||
| src/main/java/com/pangu/framework | ||
| pom.xml | ||
- 在 SecurityConfig 中添加 .logout().disable() - 解决自定义 /logout 接口被 Security 拦截导致 302 重定向问题 - 现在可以正常调用 LoginController.logout() 返回 JSON |
||
|---|---|---|
| .. | ||
| src/main/java/com/pangu/framework | ||
| pom.xml | ||