无故事王国
2023-10-25 5c244d5766b17c33da14b134fb6d20556a4c2d1d
WanPai/Network/Services.swift
@@ -266,7 +266,7 @@
        let params = ParamsAppender.build(url: All_Url)
            .interface(url: "/activity/api/coupon/queryCouponPackage")
            .append(key: "couponType", value: type)
            .append(key: "yearMonth", value: useStatus)
            .append(key: "useStatus", value: useStatus)
        return NetworkRequest.request(params: params, method: .post, progress: false)
    }
@@ -533,13 +533,15 @@
        /// 学员预约课程列表
    static func studentAppointList(stuId:Int,status:StudentAppointType?,search:String,timeType:StudentAppointDateType)->Observable<BaseResponse<[StudentAppointModel]>>{
   static func studentAppointList(page:Int,stuId:Int,status:StudentAppointType?,search:String,timeType:StudentAppointDateType)->Observable<BaseResponse<[StudentAppointModel]>>{
        let params = ParamsAppender.build(url: All_Url)
            .interface(url: "/account/api/startCource/stuAppointList")
            .append(key: "status", value: status?.rawValue)
            .append(key: "timeType", value: timeType.rawValue)
            .append(key: "search", value: search)
            .append(key: "stuId", value: stuId)
         .append(key: "page", value: page)
         .append(key: "size", value: 20)
        return NetworkRequest.request(params: params, method: .post, progress: false)
    }