From 5f5abce2ec7d65a2aa35a7897f2a5e940d6fbef9 Mon Sep 17 00:00:00 2001 From: zhengchanglong Date: Fri, 14 Feb 2020 15:34:31 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E7=8E=A9=E5=AE=B6=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E6=98=BE=E7=A4=BA=E6=9D=83=E9=99=90BUG?= =?UTF-8?q?=E4=BF=AE=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} + + From 2589a76603c097f1ce200b9179158af3993a5036 Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Fri, 14 Feb 2020 15:40:56 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E7=94=9F=E6=88=90=E4=B8=8B=E6=B8=B8?= =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E7=BB=93=E7=AE=97=E5=8D=95bug=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Admin/View/StatementMangement/PersonOrderEdit.html | 4 ++-- .../Admin/View/StatementMangement/PersonOrderList.html | 4 ++-- .../Admin/View/StatementMangement/personOrderDetail.html | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Application/Admin/View/StatementMangement/PersonOrderEdit.html b/Application/Admin/View/StatementMangement/PersonOrderEdit.html index 7e4d3827b..37b7545eb 100644 --- a/Application/Admin/View/StatementMangement/PersonOrderEdit.html +++ b/Application/Admin/View/StatementMangement/PersonOrderEdit.html @@ -194,7 +194,7 @@ 无 - 0 - 0 + 0% 0 0 0 @@ -216,7 +216,7 @@ {$game_ratio.game_name} {$game_ratio.begin_time|0} - {$game_ratio.end_time|0} {$game_ratio.sum_amount|0} - {$game_ratio.selle_ratio|0} + {$game_ratio.selle_ratio|0}% {$game_ratio.reward|0} {$game_ratio.forfeit|0} {$game_ratio.real_amount|0} diff --git a/Application/Admin/View/StatementMangement/PersonOrderList.html b/Application/Admin/View/StatementMangement/PersonOrderList.html index a83698ebf..197f800c9 100644 --- a/Application/Admin/View/StatementMangement/PersonOrderList.html +++ b/Application/Admin/View/StatementMangement/PersonOrderList.html @@ -194,7 +194,7 @@ 无 - 0 - 0 + 0% 0 0 0 @@ -216,7 +216,7 @@ {$game_ratio.game_name} {$game_ratio.begin_time|0} - {$game_ratio.end_time|0} {$game_ratio.sum_amount|0} - {$game_ratio.selle_ratio|0} + {$game_ratio.selle_ratio|0}% {$game_ratio.reward|0} {$game_ratio.forfeit|0} {$game_ratio.real_amount|0} diff --git a/Application/Admin/View/StatementMangement/personOrderDetail.html b/Application/Admin/View/StatementMangement/personOrderDetail.html index bf2f5af3d..f401a0b45 100644 --- a/Application/Admin/View/StatementMangement/personOrderDetail.html +++ b/Application/Admin/View/StatementMangement/personOrderDetail.html @@ -162,7 +162,7 @@ {$data.game_name} {$data.time|0} {$data.sum_amount|0} - {$data.selle_ratio|0} + {$data.selle_ratio|0}% {$data.reward|0} {$data.forfeit|0} {$data.real_amount|0}