skey = 'RebateRule'; $this->title = '返利奖励配置'; if ($this->request->isGet()) { $this->data = sysdata($this->skey); $this->levels = UserUpgradeService::instance()->levels(); $this->fetch(); } else { sysdata($this->skey, $this->request->post()); $this->success('奖励修改成功'); } } }