From 55fd5d94e814d0933d1422dcf17ea99f0571c380 Mon Sep 17 00:00:00 2001 From: chenzhi Date: Wed, 26 Feb 2020 14:58:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E5=90=8D=E8=AE=A4=E8=AF=81=EF=BC=8C?= =?UTF-8?q?=E9=98=B2=E6=B2=89=E8=BF=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Controller/UserController.class.php | 10 ++++++++++ Application/Admin/View/User/age.html | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Application/Admin/Controller/UserController.class.php b/Application/Admin/Controller/UserController.class.php index f24028f15..09f8ecd63 100644 --- a/Application/Admin/Controller/UserController.class.php +++ b/Application/Admin/Controller/UserController.class.php @@ -706,6 +706,16 @@ class UserController extends AdminController $data = $_POST; $a = new ToolController(); $re = $a->save($data); + //操作日志 + $type = $_REQUEST['type']; + $meta_title = ($_REQUEST['type'] == 1 ? "实名认证" : '防沉迷'); + addOperationLog(array( + "op_type"=>1, + "key"=>$type, + "menu"=>"用户-玩家组-实名认证设置-".$meta_title, + "url"=>U("Member/age",array('type'=>$type)) + )); + \Think\Log::actionLog('User/age', 'User', 1); $this->success('保存成功'); } else { diff --git a/Application/Admin/View/User/age.html b/Application/Admin/View/User/age.html index a0a8f9a3a..9958aaadf 100644 --- a/Application/Admin/View/User/age.html +++ b/Application/Admin/View/User/age.html @@ -38,7 +38,7 @@
-
+