diff --git a/WebRoot/index.html b/WebRoot/index.html
index b1c13a3d..b177c6e9 100644
--- a/WebRoot/index.html
+++ b/WebRoot/index.html
@@ -166,8 +166,10 @@
var loginPersonInfo = getPersonLoginInfo($);
$("#personName").html(" " + loginPersonInfo.person_name);
+ var globalInfo = getGlobalInfo($, Base64.encode("system_name,copy_right"));
- $('title').text(getGlobalInfo($, Base64.encode("title,copy_right")));
+
+ $('title').text(globalInfo.data[0].global_value);
});
diff --git a/WebRoot/login.html b/WebRoot/login.html
index 8e40289d..533e0543 100644
--- a/WebRoot/login.html
+++ b/WebRoot/login.html
@@ -19,6 +19,7 @@
+
@@ -155,22 +156,23 @@
+ getPageInfo();
//获取页面信息
function getPageInfo() {
$.ajax({
- type: "POST",
+ type: "GET",
dataType: "json",
- url: "/baseService/global/getGlobalValueByKey",
+ url: "/QingLong/global/getGlobalByCodes",
data: {
- "key": "title,copy_right"
+ "global_codes": Base64.encode("title,copy_right")
},
async: false,
success: function (result) {
- if (result.success) {
- $("#system_name").html(result.title);
- $("#copyright").html(result.copy_right);
- $('title').html(result.title);
- }
+
+ // $("#system_name").html(result.title);
+ // $("#copyright").html(result.copy_right);
+ $('title').html(result.data[0].global_value);
+
}
});
}