| | |
| | | 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) |
| | | } |
| | | |
| | |
| | | |
| | | |
| | | /// 学员预约课程列表 |
| | | 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) |
| | | } |
| | | |