/** * 用户删除 */ public function delAction() { $iAdminID = intval($this->getParam('id')); $iRet = Model_Admin::delData($iAdminID); if ($iRet == 1) { return $this->showMsg('用户删除成功!', true); } else { return $this->showMsg('用户删除失败!', false); } }