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