public function newSchoolPriceAction() { $id = $this->get('id'); $priceType = $this->get('priceType'); $discount = $this->get('discount'); $tradeModel = new TradeModel(); $result = $tradeModel->newSchoolPrice($id, $priceType, $discount); //$this->redirect("/error/?errno=" . Common_Error::ERROR_PARAM); $this->redirect("getSchoolPrice?schoolId=" . $id); //$this->redirect("getPrice"); }