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