diff --git a/WebRoot/pindex.html b/WebRoot/pindex.html
index 1d587c62..601da836 100644
--- a/WebRoot/pindex.html
+++ b/WebRoot/pindex.html
@@ -124,6 +124,8 @@
admin.render();
+ var from = 0;
+
$.ajax({
type: "GET",
async: false,
@@ -133,6 +135,7 @@
if (res.is_third_party == 1) {
$('#dd_changePwd').remove();
$('#dd_changeContact').remove();
+ from = 1;
}
}
}
@@ -175,7 +178,7 @@
$.ajax({
type: "GET",
async: false,
- url: '/QingLong/base/getCurrentPersonInfo?from=1',
+ url: '/QingLong/base/getCurrentPersonInfo?from='+from,
dataType: "json",
success: function (res) {
$("#personName").html(" " + res.person_name);