From 35d8e379d883d73c3b894985e8f25639c79366fc Mon Sep 17 00:00:00 2001 From: chenzhi Date: Thu, 30 Apr 2020 14:41:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=93=8D=E4=BD=9C=E8=A1=8C?= =?UTF-8?q?=E4=B8=BA=E6=97=A5=E5=BF=97=E9=9A=90=E8=97=8F=E7=8E=A9=E5=AE=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Admin/Controller/UserActionLogController.class.php | 3 ++- Application/Admin/View/UserActionLog/index.html | 8 +++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Application/Admin/Controller/UserActionLogController.class.php b/Application/Admin/Controller/UserActionLogController.class.php index 4d2933542..1f806d1f1 100644 --- a/Application/Admin/Controller/UserActionLogController.class.php +++ b/Application/Admin/Controller/UserActionLogController.class.php @@ -109,7 +109,8 @@ class UserActionLogController extends AdminController } $this->checkListOrCountAuthRestMap($map,[]); - + $show_data_power = (is_administrator()|| session('user_auth')['show_data']); + $this->assign('show_data_power', $show_data_power); $this->assign('data',$data); $this->display(); diff --git a/Application/Admin/View/UserActionLog/index.html b/Application/Admin/View/UserActionLog/index.html index 1c1b31ffe..fb6b96e06 100644 --- a/Application/Admin/View/UserActionLog/index.html +++ b/Application/Admin/View/UserActionLog/index.html @@ -112,7 +112,13 @@ {$data.action_title} {$data.action_content} {$data.game_name} - {$data.account} + + + {$data.account} + + {$data.account|encryptStr} + + {$data.create_time|date='Y-m-d H:i:s',###} {$data.ip}