Authored by mali

初始化

... ... @@ -36,7 +36,7 @@
$(function() {
//获取老平台地址
$.post(contextPath + "/LoginController/getPortalUrl.do", function(data) {
$.post(contextPath + "/loginController/getPortalUrl.do", function(data) {
adminPortalUrl = data.data;
});
... ... @@ -49,7 +49,7 @@
if (!f) {
return;
}
$.post(contextPath + "/LoginController/logout.do", function(data) {
$.post(contextPath + "/loginController/logout.do", function(data) {
window.location.href = "/platform/html/login.html";
});
... ... @@ -58,7 +58,7 @@
});
//显示登录用户名
$.post(contextPath + "/LoginController/getLoginUserInfo.do", function(data) {
$.post(contextPath + "/loginController/getLoginUserInfo.do", function(data) {
data = defaultLoadFilter(data);
$("#userName").html(data.truename);
});
... ...
... ... @@ -9,7 +9,7 @@
fit : true
});
$.post(contextPath + "/LoginController/getLoginUserMenu.do", function(data) {
$.post(contextPath + "/loginController/getLoginUserMenu.do", function(data) {
data = data.data;
for (var key in data) {
var div = $("<div>");
... ...
... ... @@ -92,7 +92,7 @@
revert : true
});
$("#f1").form({
url : contextPath + "/LoginController/platformLogin.do",
url : contextPath + "/loginController/platformLogin.do",
onSubmit : function() {
if (!$("#f1").form("validate")) {
return false;
... ...