diff --git a/Application/Admin/Controller/MemberController.class.php b/Application/Admin/Controller/MemberController.class.php index b9f11aa00..39befaa18 100644 --- a/Application/Admin/Controller/MemberController.class.php +++ b/Application/Admin/Controller/MemberController.class.php @@ -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);