无故事王国
2023-10-31 305d164f3d912e63858e433809e1053184636873
WanPai/Root/Course/VC/ExperienceCourseVC.swift
@@ -76,9 +76,11 @@
                  t.append(weakSelf.experienceCourseModel!.day[selectIndex])
               }
               Services.payCourse(courseId: weakSelf.courseId, num: n, oldCourseId: s, time: t).subscribe(onNext: {data in
                  alertSuccess(msg: "购买成功")
                  let vc = PaymentResultVC(result: .success, objType: .courseApply, handleVC: nil, courseConfigId: nil, againClouse: nil)
                     weakSelf.push(vc: vc)
               }) { error in
                  let vc = PaymentResultVC(result: .fail("购买失败", 0), objType: .courseApply, handleVC: nil, courseConfigId: nil, againClouse: nil)
                  weakSelf.push(vc: vc)
               }.disposed(by: weakSelf.disposeBag)
            }
         }