From a036ac0c6c8d87f36e68f88f05231c3be23fcc4b Mon Sep 17 00:00:00 2001 From: lmw <125975490@qq.com> Date: 星期四, 01 八月 2024 13:32:55 +0800 Subject: [PATCH] 修改bug --- app/src/main/java/com/dollearn/student/network/ApiService.kt | 55 ------------------------------------------------------- 1 files changed, 0 insertions(+), 55 deletions(-) diff --git a/app/src/main/java/com/dollearn/student/network/ApiService.kt b/app/src/main/java/com/dollearn/student/network/ApiService.kt index 950ccd1..26c040a 100644 --- a/app/src/main/java/com/dollearn/student/network/ApiService.kt +++ b/app/src/main/java/com/dollearn/student/network/ApiService.kt @@ -14,10 +14,6 @@ @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>> @@ -26,32 +22,6 @@ @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 @@ -87,12 +57,6 @@ @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>> @@ -205,23 +169,4 @@ @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>> } \ No newline at end of file -- Gitblit v1.7.1