From 5f5abce2ec7d65a2aa35a7897f2a5e940d6fbef9 Mon Sep 17 00:00:00 2001 From: zhengchanglong Date: Fri, 14 Feb 2020 15:34:31 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8E=A9=E5=AE=B6=E4=BF=A1=E6=81=AF=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E6=98=BE=E7=A4=BA=E6=9D=83=E9=99=90BUG=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controller/MemberController.class.php | 6 ++++- Application/Admin/View/Member/edit.html | 6 ++--- Application/Admin/View/Member/user_info.html | 22 +++++++++---------- 3 files changed, 19 insertions(+), 15 deletions(-) diff --git a/Application/Admin/Controller/MemberController.class.php b/Application/Admin/Controller/MemberController.class.php index 1c5a26ada..27bb806c1 100644 --- a/Application/Admin/Controller/MemberController.class.php +++ b/Application/Admin/Controller/MemberController.class.php @@ -318,7 +318,9 @@ class MemberController extends ThinkController $this->assign('_page', $page); } $this->assign('list_data', $data); - $this->assign("is_admin",is_administrator()); + //$this->assign("is_admin",is_administrator()); + $show_data_power = (is_administrator()|| session('user_auth')['show_data']); + $this->assign('show_data_power', $show_data_power); $this->display(); } @@ -841,6 +843,8 @@ class MemberController extends ThinkController $this->m_title = '玩家列表'; $this->assign("is_admin",is_administrator()); + $show_data_power = (is_administrator()|| session('user_auth')['show_data']); + $this->assign('show_data_power', $show_data_power); $this->assign('commonset', M('Kuaijieicon')->where(['url' => 'Member/user_info', 'status' => 1])->find()); $this->display(); } diff --git a/Application/Admin/View/Member/edit.html b/Application/Admin/View/Member/edit.html index 8d51e0647..b5d962ac5 100644 --- a/Application/Admin/View/Member/edit.html +++ b/Application/Admin/View/Member/edit.html @@ -112,7 +112,7 @@ - + @@ -124,7 +124,7 @@ 身份证号 - + @@ -145,7 +145,7 @@ 手机号码 - + diff --git a/Application/Admin/View/Member/user_info.html b/Application/Admin/View/Member/user_info.html index 5353a6e9c..d01a4a2cc 100644 --- a/Application/Admin/View/Member/user_info.html +++ b/Application/Admin/View/Member/user_info.html @@ -249,17 +249,17 @@ {$data.account} {$data.account|encryptStr} - --> - {$data.account} + + - - {$data.account} + + @@ -267,12 +267,12 @@ 官方渠道 --- - - {$data.promote_account} + + @@ -307,12 +307,12 @@ - - {$data.device_number} + +