From f571288a24fcf10143dcc8015ffbbf38dbc0c614 Mon Sep 17 00:00:00 2001 From: lmw <125975490@qq.com> Date: 星期一, 17 六月 2024 23:03:49 +0800 Subject: [PATCH] save --- app/src/main/java/com/dollearn/student/network/HttpManager.kt | 39 +++++++++++++++++++++++++++++++++++++-- 1 files changed, 37 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/dollearn/student/network/HttpManager.kt b/app/src/main/java/com/dollearn/student/network/HttpManager.kt index 09a72d6..317073b 100644 --- a/app/src/main/java/com/dollearn/student/network/HttpManager.kt +++ b/app/src/main/java/com/dollearn/student/network/HttpManager.kt @@ -781,8 +781,22 @@ /** * 保存进度 */ - 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) } /** @@ -950,6 +964,27 @@ } /** + * 看图选音题 + */ + 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>> { -- Gitblit v1.7.1