lmw
2024-06-17 f571288a24fcf10143dcc8015ffbbf38dbc0c614
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>> {