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