| | |
| | | } |
| | | |
| | | /** |
| | | * 重新开始答题 |
| | | */ |
| | | fun restart(day: Int,week: Int,type: Int): Flowable<ResultData<Any>> { |
| | | return request().restart(Gson().toJson(ReqRestart(day,type,week))) |
| | | } |
| | | |
| | | /** |
| | | * 保存当前题目记录 |
| | | */ |
| | | fun answerQuestion(sortBean: SortBean): Flowable<ResultData<Any>> { |
| | | return request().answerQuestion(Gson().toJson(sortBean)) |
| | | } |
| | | |
| | | /** |
| | | * 完成学习 |
| | | */ |
| | | fun completeLearning(rate: Int,time: Int,day: Int,week: Int,season: Int,type: Int,teamIds:String): Flowable<ResultData<Int?>> { |
| | |
| | | } |
| | | |
| | | /** |
| | | * 题目二是否展示文字 |
| | | */ |
| | | fun getIsOpen(): Flowable<ResultData<Boolean>> { |
| | | return request().getIsOpen() |
| | | } |
| | | |
| | | /** |
| | | * 回复进度 |
| | | */ |
| | | fun teamSchedule(day: Int,week: Int,type: Int): Flowable<ResultData<ProgressBean>> { |