无故事王国
2023-11-24 0956065363582c474fdead4b923adced42138641
WanPai/Network/Services.swift
@@ -467,7 +467,7 @@
        /// 购买运动营
    class func courcePayment(conponId:Int? = nil,courseConfigId:Int,id:Int,price:Double,payType:PayType,stuId:[Int])->Observable<BaseResponse<PaymentModel>>{
   class func courcePayment(conponId:Int? = nil,courseConfigId:Int,id:Int,price:Double,payType:PayType,stuId:[Int])->Observable<BaseResponse<PaymentModel>>{
        let params = ParamsAppender.build(url: All_Url)
            .interface(url: "/course/api/course/paymentCourse")
            .append(key: "couponId", value: conponId)
@@ -521,10 +521,11 @@
      return NetworkRequest.request(params: params, method: .post, progress: false)
   }
   static func registeredData(coursePayId:Int)->Observable<BaseResponse<SignUpCourseItemDetailModel>>{
   static func registeredData(coursePayId:Int,orderId:Int? = nil)->Observable<BaseResponse<SignUpCourseItemDetailModel>>{
      let params = ParamsAppender.build(url: All_Url)
         .interface(url: "/course/api/startCource/RegisteredData")
         .append(key: "coursePayId", value: coursePayId)
         .append(key: "orderId", value: orderId)
      return NetworkRequest.request(params: params, method: .post, progress: true)
   }