From cd13751df41c6504b3934cd3f1bd441c4ba172ff Mon Sep 17 00:00:00 2001 From: lmw <125975490@qq.com> Date: 星期五, 19 七月 2024 11:38:27 +0800 Subject: [PATCH] fix bug --- app/src/main/java/com/dollearn/student/network/HttpManager.kt | 77 -------------------------------------- 1 files changed, 0 insertions(+), 77 deletions(-) diff --git a/app/src/main/java/com/dollearn/student/network/HttpManager.kt b/app/src/main/java/com/dollearn/student/network/HttpManager.kt index c968a51..1cf99f3 100644 --- a/app/src/main/java/com/dollearn/student/network/HttpManager.kt +++ b/app/src/main/java/com/dollearn/student/network/HttpManager.kt @@ -9,7 +9,6 @@ import io.reactivex.Flowable object HttpManager { - private const val PAGE_SIZE = 20 /** * 发起请求方法 @@ -23,14 +22,6 @@ */ fun getH5(type: Int): Flowable<ResultData<String>> { return request().getH5(type) - } - - - /** - * 体检报告 - */ - fun queryPhysical(id: String): Flowable<ResultData<Report>> { - return request().queryPhysical(id) } /** @@ -55,41 +46,6 @@ return request().studyRecord() } - - /** - * 获取课时记录 - */ - fun recordDetails( - stuId: String, - courseId: String, - time: String?, - type: Int? - ): Flowable<ResultData<ArrayList<CourseRecord>>> { - return request().recordDetails(stuId, courseId, time, type) - } - - - /** - * 评语 - */ - fun stuComment(id: String): Flowable<ResultData<ArrayList<Evaluation>>> { - return request().stuComment(id) - } - - - /** - * 课时详情 - */ - fun lessonDetails(id: String, stuId: String): Flowable<ResultData<MyCourseDetail>> { - return request().lessonDetails(stuId, id) - } - - /** - * 设为默认运动营成员 - */ - fun editDefault(stuId: String): Flowable<ResultData<Any>> { - return request().editDefault(stuId) - } /** * 获取验证码 @@ -202,13 +158,6 @@ */ fun teamSchedule(day: Int,week: Int,type: Int): Flowable<ResultData<ProgressBean>> { return request().teamSchedule(day, type, week) - } - - /** - * 兑换详情 - */ - fun redemptionDetails(id: String): Flowable<ResultData<ExchangeDetail>> { - return request().redemptionDetails(id) } /** @@ -399,31 +348,5 @@ */ fun exchangeRecord(page: Int): Flowable<ResultData<ExchangeRecordBean>> { return request().exchangeRecord(page) - } - - /** - * 已报运动营详情 - */ - fun registeredData(id: String,orderId: String): Flowable<ResultData<JoinedCourse>> { - return request().registeredData(DollearnApplication.lat,DollearnApplication.lon,id,orderId) - } - - - /** - * 公告列表 - */ - fun noticeList(): Flowable<ResultData<List<Notice>>> { - return request().noticeList() - } - - /** - * 公告详情 - */ - fun noticeDetail(id: String, type: Int): Flowable<ResultData<Notice>> { - return request().noticeDetail( - if (type == 1) Apis.noticeDetail else Apis.exceptionDetail, - id, - id - ) } } \ No newline at end of file -- Gitblit v1.7.1