| | |
| | | } |
| | | |
| | | /** |
| | | * 完成学习 |
| | | */ |
| | | fun completeStory(rate: Int,type: Int,storyId:String): Flowable<ResultData<Any>> { |
| | | return request().completeStory(Gson().toJson(ReqFinishStory(rate,storyId, type))) |
| | | } |
| | | |
| | | /** |
| | | * 完成游戏 |
| | | */ |
| | | fun gameAchievement(rate: Int,difficulty: Int,gameId:String,gameName:String,useTime:Int): Flowable<ResultData<Any>> { |
| | | return request().gameAchievement(Gson().toJson(ReqFinishGame(rate,difficulty,gameId,gameName, useTime))) |
| | | } |
| | | |
| | | /** |
| | | * 回复进度 |
| | | */ |
| | | fun teamSchedule(day: Int,week: Int,type: Int): Flowable<ResultData<ProgressBean>> { |
| | |
| | | } |
| | | |
| | | /** |
| | | * 看图配音 |
| | | */ |
| | | fun lookPictureDbu(season: Int,week: Int): Flowable<ResultData<StoryBean>> { |
| | | return request().lookPictureDbu(season,week) |
| | | } |
| | | |
| | | /** |
| | | * 超级听力 |
| | | */ |
| | | fun gameHearing(season: Int,week: Int,difficulty:Int): Flowable<ResultData<GameBean>> { |
| | | return request().gameHearing(season,week,difficulty) |
| | | } |
| | | |
| | | /** |
| | | * 记忆 |
| | | */ |
| | | fun gameMemory(season: Int,week: Int): Flowable<ResultData<MemoryBean>> { |
| | | return request().gameMemory(season,week) |
| | | } |
| | | |
| | | /** |
| | | * 记忆 |
| | | */ |
| | | fun frameworkMemory(season: Int,week: Int): Flowable<ResultData<StoryBean>> { |
| | | return request().frameworkMemory(season,week) |
| | | } |
| | | |
| | | /** |
| | | * 又问又答 |
| | | */ |
| | | fun questionsAndAnswers(season: Int,week: Int,day: Int): Flowable<ResultData<SubjectBean>> { |
| | | return request().questionsAndAnswers(day,season,week) |
| | | } |
| | | |
| | | /** |
| | | * 立即兑换 |
| | | */ |
| | | fun redeemNow(id:String): Flowable<ResultData<GoodsOrder>> { |