main
黄海 2 years ago
parent 6351b47f60
commit 05214eabe2

@ -131,12 +131,10 @@
async: false,
url: "/QingLong/loginPerson/logout",
success: function (res) {
if (res.success) {
popup.success("注销成功", function () {
location.href = "login.html";
});
}
}
});
return true;
});
@ -166,12 +164,7 @@
var loginPersonInfo = getPersonLoginInfo($);
$("#personName").html(" " + loginPersonInfo.person_name);
// 消息点击回调
// admin.message(function(id, title, context, form) {});
})
</script>
</body>
</html>

@ -41,7 +41,8 @@ public class IsLoginInterceptor implements Interceptor {
if (isTrue) {
inv.invoke();
} else {
con.renderJson(CommonUtil.returnMessageJson(false, "此接口需要登录后操作!"));
//con.renderJson(CommonUtil.returnMessageJson(false, "此接口需要登录后操作!"));
con.redirect("/QingLong/");
}
}
}
Loading…
Cancel
Save