修正退出登录的bug:无法返回login页面
This commit is contained in:
parent
36993362b8
commit
3bb20e1d92
@ -131,7 +131,7 @@ public class AuthController {
|
||||
@PostMapping("/logout")
|
||||
public AjaxResult logout() {
|
||||
loginService.logout();
|
||||
return AjaxResult.error("退出成功!");
|
||||
return AjaxResult.success("退出成功!");
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user