【7.0.4】替换退出接口名称

pull/76/head
fengshuonan 3 years ago
parent a4942e714c
commit 87f26ad570

@ -115,7 +115,7 @@
// 退出登录点击事件 // 退出登录点击事件
$('#btnLogout').click(function () { $('#btnLogout').click(function () {
var request = new HttpRequest(Feng.ctxPath + "/logout", 'post', function (data) { var request = new HttpRequest(Feng.ctxPath + "/logoutAction", 'post', function (data) {
Feng.success("退出成功!"); Feng.success("退出成功!");
window.location.href = Feng.ctxPath + "/"; window.location.href = Feng.ctxPath + "/";
}, function (data) { }, function (data) {

@ -36,7 +36,7 @@
//解锁锁屏 //解锁锁屏
admin.unlockScreen(); admin.unlockScreen();
var request = new HttpRequest(Feng.ctxPath + "/logout", 'post', function (data) { var request = new HttpRequest(Feng.ctxPath + "/logoutAction", 'post', function (data) {
Feng.success("退出成功!"); Feng.success("退出成功!");
location.replace(Feng.ctxPath + "/"); location.replace(Feng.ctxPath + "/");
}, function (data) { }, function (data) {

Loading…
Cancel
Save