|
|
@ -140,18 +140,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
// 登出逻辑
|
|
|
|
// 登出逻辑
|
|
|
|
admin.logout(function () {
|
|
|
|
admin.logout(function () {
|
|
|
|
$.ajax({
|
|
|
|
|
|
|
|
type: "GET",
|
|
|
|
popup.success("注销成功", function () {
|
|
|
|
async: false,
|
|
|
|
window.location = "/QingLong/loginPerson/logout";
|
|
|
|
url: "/QingLong/loginPerson/logout",
|
|
|
|
|
|
|
|
success: function (res) {
|
|
|
|
|
|
|
|
if (res.success) {
|
|
|
|
|
|
|
|
popup.success("注销成功", function () {
|
|
|
|
|
|
|
|
location.href = "plogin.html";
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|