| | |
| | | }) { error in |
| | | |
| | | }.disposed(by: weakSelf.disposeBag) |
| | | /** |
| | | Services.queryCourseInfo(id: model.courseId).subscribe(onNext: {[weak self] data in |
| | | guard let weakSelf = self else { return } |
| | | if let m = data.data{ |
| | | Services.registeredData(coursePayId: model.coursePayId ?? 0,orderId: model.orderId).subscribe(onNext: {data in |
| | | if let m1 = data.data{ |
| | | let vc = CourseDetailVC(id: model.courseId, signUpCourseModel: m1) |
| | | weakSelf.push(vc: vc) |
| | | } |
| | | }) { error in |
| | | |
| | | }.disposed(by: weakSelf.disposeBag) |
| | | } |
| | | }).disposed(by: weakSelf.disposeBag) |
| | | |
| | | **/ |
| | | } |
| | | |
| | | viewModel.startTime.accept(Date()) |