From ba95f7f99054879224e12167a9bed1ecc3fee644 Mon Sep 17 00:00:00 2001 From: kgdxpr Date: Wed, 7 Feb 2024 11:08:21 +0800 Subject: [PATCH] 'commit' --- WebRoot/pindex.html | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) 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); // 消息点击回调