public function startAddon() { $result = model('Addon')->startAddons(t($_GET['name'])); if (true === $result) { $this->success('启用成功'); } else { $this->error('启动失败'); } }