| | |
| | | /** |
| | | * 保存进度 |
| | | */ |
| | | fun exitLearning(day: Int,week: Int,type: Int,teamIds:String,topicIds:String): Flowable<ResultData<Any>> { |
| | | return request().exitLearning(Gson().toJson(ReqSaveProgress(day, week, type, teamIds, topicIds))) |
| | | fun exitLearning(answerNumber: Int,correctNumber: Int,day: Int,week: Int,type: Int,teamIds:String,topicIds:String): Flowable<ResultData<Any>> { |
| | | return request().exitLearning(Gson().toJson(ReqSaveProgress(answerNumber,correctNumber,day, week, type, teamIds, topicIds))) |
| | | } |
| | | |
| | | /** |
| | | * 完成学习 |
| | | */ |
| | | fun completeLearning(rate: Int,time: Int,day: Int,week: Int,season: Int,type: Int,teamIds:String): Flowable<ResultData<Any>> { |
| | | return request().completeLearning(Gson().toJson(ReqFinishStudy(rate,day,season,teamIds,time,type,week))) |
| | | } |
| | | |
| | | /** |
| | | * 回复进度 |
| | | */ |
| | | fun teamSchedule(day: Int,week: Int,type: Int): Flowable<ResultData<ProgressBean>> { |
| | | return request().teamSchedule(day, type, week) |
| | | } |
| | | |
| | | /** |
| | |
| | | } |
| | | |
| | | /** |
| | | * 看图选音题 |
| | | */ |
| | | fun pictureSelectVoice(season: Int,week: Int,day: Int): Flowable<ResultData<SubjectBean>> { |
| | | return request().pictureSelectVoice(day,season,week) |
| | | } |
| | | |
| | | /** |
| | | * 归纳排除 |
| | | */ |
| | | fun induceExclude(season: Int,week: Int,day: Int): Flowable<ResultData<SubjectBean>> { |
| | | return request().induceExclude(day,season,week) |
| | | } |
| | | |
| | | /** |
| | | * 音图配 |
| | | */ |
| | | fun pictureMateVoice(season: Int,week: Int,day: Int): Flowable<ResultData<SubjectBean>> { |
| | | return request().pictureMateVoice(day,season,week) |
| | | } |
| | | |
| | | /** |
| | | * 立即兑换 |
| | | */ |
| | | fun redeemNow(id:String): Flowable<ResultData<GoodsOrder>> { |