示例#1
0
文件: Trade.php 项目: krisrita/udo
 public function getSchoolPriceAction()
 {
     $schoolId = (int) $this->get('schoolId', 0);
     $tradeModel = new TradeModel();
     $courseList = $tradeModel->getSchoolCoursePrice($schoolId);
     $school = $tradeModel->getSingleSchoolPrice($schoolId);
     $this->assign('school', $school);
     $this->assign('courseList', $courseList['courseList']);
     $this->assign('resourceNum', $courseList['resourceNum']);
 }