build: 退出登录返回DTO
This commit is contained in:
parent
921a076572
commit
9888af431e
|
@ -68,8 +68,9 @@ public class LoginController {
|
||||||
}
|
}
|
||||||
|
|
||||||
@GetMapping(value = "/signout")
|
@GetMapping(value = "/signout")
|
||||||
public void logout(HttpServletResponse response) throws Exception {
|
public ResultHolder logout(HttpServletResponse response) throws Exception {
|
||||||
SecurityUtils.getSubject().logout();
|
SecurityUtils.getSubject().logout();
|
||||||
|
return ResultHolder.success("logout success");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue