diff --git a/src/main/java/cn/stylefeng/guns/modular/login/LoginViewController.java b/src/main/java/cn/stylefeng/guns/modular/login/LoginViewController.java index c1840109..58d3ef6a 100644 --- a/src/main/java/cn/stylefeng/guns/modular/login/LoginViewController.java +++ b/src/main/java/cn/stylefeng/guns/modular/login/LoginViewController.java @@ -66,7 +66,7 @@ public class LoginViewController { * @author majianguo * @date 2020/12/4 上午9:05 */ - @GetResource(name = "登出接口", path = "/logout", requiredPermission = false) + @PostResource(name = "登出接口", path = "/logout", requiredPermission = false) @ResponseBody public ResponseData logoutPage() { authServiceApi.logout();