From bec08dac93727bc10318f30552d4f3b8fd68596d Mon Sep 17 00:00:00 2001 From: Comsenz <10433182@qq.com> Date: Mon, 4 Jun 2018 16:57:43 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9A=90=E7=A7=81=E4=BF=9D=E6=8A=A4=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- upload/source/plugin/mobile/api/1/profile.php | 2 +- upload/source/plugin/mobile/api/3/profile.php | 2 +- upload/source/plugin/mobile/api/4/profile.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/upload/source/plugin/mobile/api/1/profile.php b/upload/source/plugin/mobile/api/1/profile.php index 4969990..c2b8622 100644 --- a/upload/source/plugin/mobile/api/1/profile.php +++ b/upload/source/plugin/mobile/api/1/profile.php @@ -23,7 +23,7 @@ class mobile_api { function output() { global $_G; $data = $GLOBALS['space']; - unset($data['password'], $data['email'], $data['regip'], $data['lastip'], $data['regip_loc'], $data['lastip_loc']); + unset($data['password'], $data['email'], $data['regip'], $data['lastip'], $data['regip_loc'], $data['lastip_loc'], $data['qq'], $data['alipay'], $data['icq'], $data['yahoo'], $data['msn'], $data['taobao'], $data['mobile'], $data['telephone'], $data['idcard'], $data['idcardtype'], $data['address'], $data['realname'], $data['zipcode']); $variable = array( 'space' => $data, 'extcredits' => $_G['setting']['extcredits'], diff --git a/upload/source/plugin/mobile/api/3/profile.php b/upload/source/plugin/mobile/api/3/profile.php index 9822bfe..e14f366 100644 --- a/upload/source/plugin/mobile/api/3/profile.php +++ b/upload/source/plugin/mobile/api/3/profile.php @@ -26,7 +26,7 @@ class mobile_api { if($_G['uid'] && $data['uid'] == $_G['uid']) { $data['favthreads'] = C::t('home_favorite')->count_by_uid_idtype($_G['uid'], 'tid'); } - unset($data['password'], $data['email'], $data['regip'], $data['lastip'], $data['regip_loc'], $data['lastip_loc']); + unset($data['password'], $data['email'], $data['regip'], $data['lastip'], $data['regip_loc'], $data['lastip_loc'], $data['qq'], $data['alipay'], $data['icq'], $data['yahoo'], $data['msn'], $data['taobao'], $data['mobile'], $data['telephone'], $data['idcard'], $data['idcardtype'], $data['address'], $data['realname'], $data['zipcode']); $variable = array( 'space' => $data, 'extcredits' => $_G['setting']['extcredits'], diff --git a/upload/source/plugin/mobile/api/4/profile.php b/upload/source/plugin/mobile/api/4/profile.php index 134a3a3..f9466bf 100644 --- a/upload/source/plugin/mobile/api/4/profile.php +++ b/upload/source/plugin/mobile/api/4/profile.php @@ -29,7 +29,7 @@ class mobile_api { $data['upgradeprogress'] = 100 - ceil($data['upgradecredit'] / ($data['group']['creditslower'] - $data['group']['creditshigher']) * 100); $data['upgradeprogress'] = max($data['upgradeprogress'], 2); } - unset($data['password'], $data['email'], $data['regip'], $data['lastip'], $data['regip_loc'], $data['lastip_loc']); + unset($data['password'], $data['email'], $data['regip'], $data['lastip'], $data['regip_loc'], $data['lastip_loc'], $data['qq'], $data['alipay'], $data['icq'], $data['yahoo'], $data['msn'], $data['taobao'], $data['mobile'], $data['telephone'], $data['idcard'], $data['idcardtype'], $data['address'], $data['realname'], $data['zipcode']); $variable = array( 'space' => $data, 'extcredits' => $_G['setting']['extcredits'],