操作日志-防刷预警

master
chenzhi 5 years ago
parent 97ff3baaff
commit 0e0a7263e3

@ -1358,7 +1358,17 @@ class MemberController extends ThinkController
} elseif ($name == 'CACHE_TYPE_HOST' || $name == 'CACHE_TYPE_TIME') {
$this->set_config($name, $value);
}
$Config->where($map)->setField('value', $value);
$res = $Config->where($map)->setField('value', $value);
if($res >0){
//操作日志
addOperationLog(array(
"op_type"=>1,
"key"=>$name,
"url"=>U("Member/blockconfig")
));
}
}
}
S('DB_CONFIG_DATA', null);

Loading…
Cancel
Save