applyCsrfToken(); $this->title = '开放平台接口配置'; if ($this->request->isGet()) { $this->fetch(); } else { $post = $this->request->post(); foreach ($post as $k => $v) sysconf($k, $v); $this->success('开放平台参数修改成功!'); } } }