| | |
| | | //let All_Url = "https://console-mock.apipost.cn/mock/b5b2dee0-5564-40ae-f082-a352d502a153" |
| | | //let All_Url = "http://192.168.110.165:10393/mock/b5b2dee0-5564-40ae-f082-a352d502a153" |
| | | #else |
| | | let All_Url = "http://8.137.22.229" |
| | | let All_Url = "http://8.137.22.229:56666" |
| | | let Game_Url = "https://port.daowepark.com" |
| | | #endif |
| | | |
| | |
| | | static func queryPhysical(stuId:Int)->Observable<BaseResponse<StartClouseReportModel>>{ |
| | | let params = ParamsAppender.build(url: All_Url) |
| | | .interface(url: "/account/api/startCource/queryPhysical") |
| | | .append(key: "stuId", value: stuId) |
| | | .append(key: "stuID", value: stuId) |
| | | return NetworkRequest.request(params: params, method: .post, progress: true) |
| | | } |
| | | |
| | |
| | | class func exchangeRecordDetail(id:Int,goodType:ExchangeType)->Observable<BaseResponse<RecordsDetailModel>>{ |
| | | let params = ParamsAppender.build(url: All_Url) |
| | | .interface(url: "/account/api/useBenefit/redemptionDetails") |
| | | .append(key: "id", value: id) |
| | | .append(key: "goodType", value: goodType.rawValue) |
| | | .append(key: "detailsId", value: id) |
| | | // .append(key: "goodType", value: goodType.rawValue) |
| | | return NetworkRequest.request(params: params, method: .post, progress: true) |
| | | } |
| | | |