/** * 删除菜单 * @return boolean */ public function delAction() { $iMenuID = intval($this->getParam('id')); $iRet = Model_Menu::delData($iMenuID); if ($iRet == 1) { return $this->showMsg('菜单删除成功!', true); } else { return $this->showMsg('菜单删除失败!', false); } }