     
     private func loadClassSchedule() {
         
-        getTeacherAvailableTimeInSchool(1, schoolID: 1, failureHandler: { (reason, errorMessage) -> Void in
+        let teacherID = teacherModel?.id ?? 1
+        let schoolID = MalaCourseChoosingObject.school?.id ?? 1
+        
+        getTeacherAvailableTimeInSchool(teacherID, schoolID: schoolID, failureHandler: { (reason, errorMessage) -> Void in
             defaultFailureHandler(reason, errorMessage: errorMessage)
             
             // 错误处理

        let viewController = PaymentViewController()
        self.navigationController?.pushViewController(viewController, animated: true)
    }
    
    deinit {
        println("choosing Controller deinit")

    
    // MARK: - Delegate
    func OrderDidconfirm() {
        
        // 设置订单模型
        setupOrderForm()
        
