This repository has been archived on 2021-11-25. You can view files and clone it, but cannot push or open issues or pull requests.
DBHomework/web/booksys/logout.html
2017-12-08 22:37:18 +08:00

25 lines
585 B
HTML

<!DOCTYPE>
<html>
<head>
<title>BookSystem 登出</title>
{{Header}}
</head>
<body>
<div>
正在退出登录...
</div>
<script>
/// Check Login
$.post("/cgi-bin/booksys/doLogout",{},function(data){
console.log("Logout Ajax Success");
location.href="login.html";
},"json").fail(function(err){
console.log("Logout Ajax Failed. err:",err);
location.href="login.html";
});
</script>
</body>
</html>