diff --git a/src/main/webapp/pages/index.html b/src/main/webapp/pages/index.html index 76c06605..7ddd4589 100644 --- a/src/main/webapp/pages/index.html +++ b/src/main/webapp/pages/index.html @@ -115,7 +115,7 @@ // 退出登录点击事件 $('#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("退出成功!"); window.location.href = Feng.ctxPath + "/"; }, function (data) { diff --git a/src/main/webapp/pages/modular/system/index/lock_screen.html b/src/main/webapp/pages/modular/system/index/lock_screen.html index 7e3433f9..3b7504c1 100644 --- a/src/main/webapp/pages/modular/system/index/lock_screen.html +++ b/src/main/webapp/pages/modular/system/index/lock_screen.html @@ -36,7 +36,7 @@ //解锁锁屏 admin.unlockScreen(); - var request = new HttpRequest(Feng.ctxPath + "/logout", 'post', function (data) { + var request = new HttpRequest(Feng.ctxPath + "/logoutAction", 'post', function (data) { Feng.success("退出成功!"); location.replace(Feng.ctxPath + "/"); }, function (data) {