shiro ajax請求session失效,返回登錄頁面

$.ajaxSetup({
	dataFilter: function(response) {
		if (response.indexOf('loginBox') !== -1) {
			window.location.href = ctx + '/login';
			return "";
		} else {
			return response;
		}
	}
});
相關文章
相關標籤/搜索