/** * 价格配置段除删 */ public function delAction() { $iPriceID = intval($this->getParam('id')); $iRet = Model_Price::delData($iPriceID); if ($iRet == 1) { return $this->showMsg('价格配置段删除成功!', true); } else { return $this->showMsg('价格配置段删除失败!', false); } }