实名认证,防沉迷

master
chenzhi 5 years ago
parent 50e4185d9c
commit 55fd5d94e8

@ -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 {

@ -38,7 +38,7 @@
<div class=" tabcon1711">
<form action="{:U('User/age')}" method="post" class="form-horizontal alipay form_info_ml">
<form action="{:U('User/age',array('type'=>I('type',1)))}" method="post" class="form-horizontal alipay form_info_ml">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>

Loading…
Cancel
Save