diff --git a/WebRoot/pindex.html b/WebRoot/pindex.html index ebe9c9f9..1925df0c 100644 --- a/WebRoot/pindex.html +++ b/WebRoot/pindex.html @@ -171,8 +171,19 @@ }); }); - var loginPersonInfo = getPersonLoginInfo($); - $("#personName").html(" " + loginPersonInfo.person_name); + + $.ajax({ + type: "GET", + async: false, + url: '/QingLong/base/getCurrentPersonInfo?from=1', + dataType: "json", + success: function (res) { + $("#personName").html(" " + res.person_name); + } + }) + + // var loginPersonInfo = getPersonLoginInfo($); + // $("#personName").html(" " + loginPersonInfo.person_name); // 消息点击回调