public function stopAddon() { $result = model('Addon')->stopAddonsById(intval($_GET['addonId'])); if (true === $result) { $this->success('停用成功'); } else { $this->error('停用失败'); } }