修正退出登录的bug:无法返回login页面

This commit is contained in:
dataprince 2023-08-30 10:22:36 +08:00
parent 36993362b8
commit 3bb20e1d92

View File

@ -131,7 +131,7 @@ public class AuthController {
@PostMapping("/logout")
public AjaxResult logout() {
loginService.logout();
return AjaxResult.error("退出成功!");
return AjaxResult.success("退出成功!");
}
/**