无故事王国
2023-12-08 cf002d12c6cc172a2fe989243c038cc64f627a02
WanPai/Root/Course/VC/StudentCourseDetailVC.swift
@@ -84,6 +84,22 @@
         }) { 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())