| | |
| | | @POST(Apis.H5_URL) |
| | | fun getH5(@Field("type") type: Int): Flowable<ResultData<String>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.queryPhysical) |
| | | fun queryPhysical(@Field("stuID") id: String): Flowable<ResultData<Report>> |
| | | |
| | | @GET(Apis.userDetails) |
| | | fun userDetails(): Flowable<ResultData<UserBean>> |
| | | |
| | |
| | | |
| | | @GET(Apis.studyRecord) |
| | | fun studyRecord(): Flowable<ResultData<StudyRecord>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.stuComment) |
| | | fun stuComment( |
| | | @Field("stuId") stuId: String |
| | | ): Flowable<ResultData<ArrayList<Evaluation>>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.lessonDetails) |
| | | fun lessonDetails( |
| | | @Field("stuId") stuId: String, |
| | | @Field("lessonId") lessonId: String |
| | | ): Flowable<ResultData<MyCourseDetail>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.editDefault) |
| | | fun editDefault(@Field("stuId") stuId: String): Flowable<ResultData<Any>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.recordDetails) |
| | | fun recordDetails( |
| | | @Field("stuId") stuId: String, |
| | | @Field("lessionId") lessonId: String, |
| | | @Field("time") time: String?, |
| | | @Field("type") type: Int? |
| | | ): Flowable<ResultData<ArrayList<CourseRecord>>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST |
| | |
| | | @GET(Apis.giveIntegral) |
| | | fun giveIntegral(): Flowable<ResultData<Boolean>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.redemptionDetails) |
| | | fun redemptionDetails( |
| | | @Field("detailsId") goodId: String |
| | | ): Flowable<ResultData<ExchangeDetail>> |
| | | |
| | | @POST(Apis.cancellation) |
| | | fun cancellation(): Flowable<ResultData<Any>> |
| | | |
| | |
| | | |
| | | @GET(Apis.userGameDifficulty) |
| | | fun userGameDifficulty(@Query("week") week: Int): Flowable<ResultData<Int?>> |
| | | |
| | | @POST(Apis.restart) |
| | | fun restart(@Body body : String): Flowable<ResultData<Any>> |
| | | |
| | | @POST(Apis.answerQuestion) |
| | | fun answerQuestion(@Body body : String): Flowable<ResultData<Any>> |
| | | |
| | | @GET(Apis.getIsOpen) |
| | | fun getIsOpen(): Flowable<ResultData<Boolean>> |
| | | |
| | | @GET(Apis.teamSchedule) |
| | | fun teamSchedule(@Query("day") day:Int,@Query("type") type:Int,@Query("week") week:Int): Flowable<ResultData<ProgressBean>> |
| | |
| | | |
| | | @GET(Apis.exchangeRecord) |
| | | fun exchangeRecord(@Query("pageNumber") page:Int,@Query("pageSize") pageSize: Int = 30): Flowable<ResultData<ExchangeRecordBean>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.registeredData) |
| | | fun registeredData( |
| | | @Field("lat") lat: Double?, |
| | | @Field("lon") lon: Double?, |
| | | @Field("coursePayId") coursePayId: String, |
| | | @Field("orderId") orderId: String |
| | | ): Flowable<ResultData<JoinedCourse>> |
| | | @POST(Apis.noticeList) |
| | | fun noticeList(): Flowable<ResultData<List<Notice>>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST |
| | | fun noticeDetail( |
| | | @Url url: String, |
| | | @Field("noId") noId: String, |
| | | @Field("quesId") quesId: String |
| | | ): Flowable<ResultData<Notice>> |
| | | } |