| | |
| | | fun getH5(@Field("type") type: Int): Flowable<ResultData<String>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.queryProvinceAndCity) |
| | | fun queryProvinceAndCity(@Field("pcode") code: String?): Flowable<ResultData<ArrayList<CommonData>>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.queryStoreByCityCode) |
| | | fun queryStoreByCityCode(@Field("cityCode") code: String,@Field("provinceCode") provinceCode: String): Flowable<ResultData<ArrayList<CommonData>>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.addVipPayment) |
| | | fun addVipPayment(@Field("payType") payType: Int): Flowable<ResultData<PayInfo>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.paymentCourse) |
| | | fun paymentCourse( |
| | | @Field("payType") payType: Int, |
| | | @Field("id") id: String, |
| | | @Field("coursePackagePaymentConfigId") coursePackagePaymentConfigId: String, |
| | | @Field("price") price: Double, |
| | | @Field("studentIds") studentIds: String, |
| | | @Field("couponId") couponId: Long, |
| | | @Field("orderId") orderId: String? |
| | | ): Flowable<ResultData<PayInfo>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.payment) |
| | | fun payment( |
| | | @Field("payType") payType: Int, |
| | | @Field("lessonId") id: String, |
| | | @Field("coursePayId") coursePayId: String, |
| | | @Field("courseHoursNum") courseHoursNum: Int, |
| | | @Field("stuId") studentIds: String, |
| | | @Field("useConpon") useConpon: Int, |
| | | @Field("conponId") couponId: Long |
| | | ): Flowable<ResultData<PayInfo>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.paymentCompetition) |
| | | fun paymentCompetition( |
| | | @Field("payType") payType: Int, |
| | | @Field("id") id: String, |
| | | @Field("ids") ids: String, |
| | | @Field("coursePaymentId") coursePaymentId: String? |
| | | ): Flowable<ResultData<PayInfo>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.queryPhysical) |
| | | fun queryPhysical(@Field("stuID") id: String): Flowable<ResultData<Report>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.stuAppointList) |
| | | fun stuAppointList( |
| | | @Field("stuId") stuId: String, |
| | | @Field("appointStatus") appointStatus: Int, |
| | | @Field("timeType") timeType: Int?, |
| | | @Field("search") search: String?, |
| | | @Field("pageNum") pageNum: Int, |
| | | @Field("size") size: Int = Const.PAGE_SIZE |
| | | ): Flowable<ResultData<List<ReserveRecord>>> |
| | | |
| | | @GET(Apis.userDetails) |
| | | fun userDetails(): Flowable<ResultData<UserBean>> |
| | |
| | | @GET(Apis.studyRecord) |
| | | fun studyRecord(): Flowable<ResultData<StudyRecord>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.uploadImage) |
| | | fun uploadImage(@Field("userImage") userImage: String): Flowable<ResultData<Any>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.queryClassificationBenefitsVideosList) |
| | | fun queryClassificationBenefitsVideosList( |
| | | @Field("position") type: Int, |
| | | @Field("search") search: String? |
| | | ): Flowable<ResultData<List<VideoTypeBean>>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.queryBenefitsVideosList) |
| | | fun queryBenefitsVideosList( |
| | | @Field("classificationId") classificationId: String, |
| | | @Field("pageNo") page: Int, |
| | | @Field("pageSize") pageSize: Int, |
| | | @Field("search") search: String? |
| | | ): Flowable<ResultData<List<VideoBean>>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.queryBenefitsVideosInfo) |
| | | fun queryBenefitsVideosInfo(@Field("id") id: String): Flowable<ResultData<VideoBean>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.afterSourceDetail) |
| | | fun afterSourceDetail( |
| | | @Field("videoId") id: String, |
| | | @Field("scId") scId: String, |
| | | @Field("coursePackageId") coursePackageId: String |
| | | ): Flowable<ResultData<Practice>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.receiveAward) |
| | | fun receiveAward(@Field("id") id: String): Flowable<ResultData<Any>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.updateVideoStatus) |
| | | fun updateVideoStatus(@Field("videoId") videoId: String,@Field("coursePackageId") coursePackageId: String, |
| | | @Field("scId") scId: String?,@Field("isOver") isOver: Int = 1): Flowable<ResultData<Any>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.querySiteList) |
| | | fun querySiteList( |
| | | @Field("pageNum") page: Int, |
| | | @Field("pageSize") pageSize: Int, |
| | | @Field("lat") lat: Double?, |
| | | @Field("lon") lon: Double?, |
| | | @Field("cityCode") cityCode: String?, |
| | | @Field("startTime") startTime: String?, |
| | | @Field("endTime") endTime: String?, |
| | | @Field("siteTypeId") siteTypeId: Int?, |
| | | @Field("storeId") storeId: String?, |
| | | @Field("search") search: String? |
| | | ): Flowable<ResultData<List<Place>>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.queryMySite) |
| | | fun queryMySite( |
| | | @Field("pageNo") page: Int, |
| | | @Field("pageSize") pageSize: Int, |
| | | @Field("status") status: Int? |
| | | ): Flowable<ResultData<List<Place>>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.cancelMySite) |
| | | fun cancelMySite(@Field("id") id: String): Flowable<ResultData<Any>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.queryMyCompetitionList) |
| | | fun queryMyCompetitionList( |
| | | @Field("type") type: Int, |
| | | @Field("pageNo") page: Int, |
| | | @Field("pageSize") pageSize: Int |
| | | ): Flowable<ResultData<List<Match>>> |
| | | |
| | | @POST(Apis.querySiteType) |
| | | fun querySiteType(): Flowable<ResultData<List<CommonData>>> |
| | | |
| | | @POST(Apis.weeksOfGetHours) |
| | | fun weeksOfGetHours(): Flowable<ResultData<Int>> |
| | | |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.weeksOfAddHours) |
| | | fun weeksOfAddHours(@Field("packetId") id: Long): Flowable<ResultData<Any>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.queryMySiteById) |
| | | fun queryMySiteById(@Field("id") id: String): Flowable<ResultData<MySite>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.payCourseInfo) |
| | | fun payCourseInfo(@Field("courseId") id: Int): Flowable<ResultData<PayCoursInfo>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.payCourse) |
| | | fun payCourse(@FieldMap hashMap: HashMap<String,Any>,@Field("time") id: List<String>): Flowable<ResultData<Any>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.getMyCourseList) |
| | | fun getMyCourseList(@Field("storeId") id: Int=storeId.toInt()): Flowable<ResultData<List<MyCourseList>>> |
| | | |
| | | @POST(Apis.queryArrangeCourseList) |
| | | fun queryArrangeCourseList(): Flowable<ResultData<List<CommonData>>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.registeredCourses) |
| | | fun registeredCourses( |
| | | @Field("courseTypeId") courseTypeId: Int?, |
| | | @Field("search") search: String? |
| | | ): Flowable<ResultData<List<JoinedCourse>>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.continuePaymentMySite) |
| | | fun continuePaymentMySite( |
| | | @Field("id") id: String, |
| | | @Field("payType") payType: Int |
| | | ): Flowable<ResultData<PayInfo>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.queryCompetitionInfo) |
| | | fun queryCompetitionInfo( |
| | | @Field("id") id: String, |
| | | @Field("lat") lat: Double?, |
| | | @Field("lon") lon: Double? |
| | | ): Flowable<ResultData<Match>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.queryMyCompetitionInfo) |
| | | fun queryMyCompetitionInfo(@Field("id") id: String): Flowable<ResultData<Match>> |
| | | |
| | | @POST(Apis.queryAllCity) |
| | | fun queryAllCity(): Flowable<ResultData<List<CommonData>>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.queryCourseList) |
| | | fun queryCourseList( |
| | | @Field("storeId") storeId: String, |
| | | @Field("lat") lat: Double?, |
| | | @Field("lon") lon: Double?, |
| | | @Field("coursePackageTypeId") coursePackageTypeId: Int?, |
| | | @Field("distanceSort") distanceSort: String?, |
| | | @Field("salesRanking") salesRanking: String?, |
| | | @Field("search") search: String? |
| | | ): Flowable<ResultData<List<Course>>> |
| | | |
| | | @POST(Apis.queryCoursePackageType) |
| | | fun queryCoursePackageType(): Flowable<ResultData<List<CommonData>>> |
| | | |
| | | @POST(Apis.getCourseAppUserDetails) |
| | | fun getCourseAppUserDetails(): Flowable<ResultData<List<CommonData>>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.queryStoreLists) |
| | | fun queryStoreLists( |
| | | @Field("lat") lat: Double?, |
| | | @Field("lon") lon: Double?, |
| | | @Field("cityCode") cityCode: String? |
| | | ): Flowable<ResultData<List<CommonData>>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.queryCourseInfo) |
| | | fun queryCourseInfo( |
| | | @Field("id") id: String, |
| | | @Field("stuId") stuId: String?, |
| | | @Field("lat") lat: Double?, |
| | | @Field("lon") lon: Double? |
| | | ): Flowable<ResultData<Course>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.discountCourseDatas) |
| | | fun discountCourseDatas( |
| | | @Field("coursePackageDiscountId") id: String, |
| | | @Field("lat") lat: Double?, |
| | | @Field("lon") lon: Double? |
| | | ): Flowable<ResultData<WelfareDetail>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.queryStudentData) |
| | | fun queryStudentData(@Field("stuId") id: String?): Flowable<ResultData<CourseHomeData>> |
| | | |
| | | @POST(Apis.voucherCenter) |
| | | fun voucherCenter(): Flowable<ResultData<List<RechargeItem>>> |
| | | |
| | | @POST(Apis.rechargeDescription) |
| | | fun rechargeDescription(): Flowable<ResultData<String>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.stuGoog) |
| | | fun stuGoog( |
| | | @Field("stuId") stuId: String |
| | | ): Flowable<ResultData<ArrayList<Medal>>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.stuMedal) |
| | | fun stuMedal( |
| | | @Field("stuId") stuId: String |
| | | ): Flowable<ResultData<ArrayList<Medal>>> |
| | | |
| | | @FormUrlEncoded |
| | | @FormUrlEncoded |
| | | @POST(Apis.stuComment) |
| | | fun stuComment( |
| | | @Field("stuId") stuId: String |
| | | ): Flowable<ResultData<ArrayList<Evaluation>>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.afterSourceList) |
| | | fun afterSourceList( |
| | | @Field("stuId") stuId: String, |
| | | @Field("courseTypeId") courseTypeId: Int?, |
| | | @Field("search") search: String? |
| | | ): Flowable<ResultData<ArrayList<Practice>>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.weeksOfCourseDetails) |
| | | fun weeksOfCourseDetails( |
| | | @Field("stuId") stuId: String, @Field("storeId") storeId: String, @Field("time") time: String, |
| | | @Field("latitude") lat: Double?, @Field("longitude") lon: Double? |
| | | ): Flowable<ResultData<WeeksOfCourseDetails>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.lessonDetails) |
| | |
| | | @GET(Apis.promptVoice) |
| | | fun promptVoice(): Flowable<ResultData<ConfigBean>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST |
| | | fun register( |
| | | @Url url: String, |
| | | @Field("phone") phone: String, @Field("password") password: String, |
| | | @Field("code") code: String, @Field("invitePhone") invitePhone: String?, |
| | | @Field("openId") openId: String?, @Field("lat") lat: Double?, @Field("lon") lon: Double? |
| | | ): Flowable<ResultData<Any>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.bindWx) |
| | | fun bindPhone( |
| | | @Field("phone") phone: String, @Field("code") code: String, @Field("invitePhone") invitePhone: String?, |
| | | @Field("openId") openId: String?, @Field("lat") lat: Double?, @Field("lon") lon: Double? |
| | | ): Flowable<ResultData<JsonObject>> |
| | | |
| | | @POST(Apis.captchaLogin) |
| | | fun captchaLogin( |
| | | @Body phoneRequest : String |
| | |
| | | fun giveIntegral(): Flowable<ResultData<Boolean>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.queryBanner) |
| | | fun queryBanner(@Field("position") type: Int): Flowable<ResultData<ArrayList<Banner>>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.querySearchCourseList) |
| | | fun querySearchCourseList( |
| | | @Field("conditions") conditions: String?, |
| | | @Field("current") current: Int, |
| | | @Field("gradeId") gradeId: Int, |
| | | @Field("subjectsId") subjectsId: String?, |
| | | @Field("size") size: Int = Const.PAGE_SIZE |
| | | ): Flowable<ResultData<ArrayList<Course>>> |
| | | |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.recharge) |
| | | fun recharge( |
| | | @Field("amount") money: Double, |
| | | @Field("payType") type: Int |
| | | ): Flowable<ResultData<PayInfo>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST |
| | | fun voucherDetail( |
| | | @Url url: String, |
| | | @Field("yearMonth") yearMonth: String, |
| | | @Field("pageNum") pageNum: Int, |
| | | @Field("pageSize") pageSize: Int, |
| | | @Field("recordId") type: Int? |
| | | ): Flowable<ResultData<List<CoinRecord>>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.userBilling) |
| | | fun userBilling( |
| | | @Field("yearMonth") yearMonth: String, |
| | | @Field("recordId") type: Int? |
| | | ): Flowable<ResultData<List<CoinRecord>>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.queryCouponPackage) |
| | | fun queryCouponPackage( |
| | | @Field("couponType") couponType: Int?, |
| | | @Field("useStatus") useStatus: Int? |
| | | ): Flowable<ResultData<List<Coupon>>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.integralMallList) |
| | | fun integralMallList( |
| | | @Field("goodsType") goodsType: Int?, |
| | | @Field("rank") rank: Int?, |
| | | @Field("pageNum") pageNum: Int, |
| | | @Field("pageSize") pageSize: Int, |
| | | @Field("lat") lat: Double?, |
| | | @Field("lon") lon: Double?, |
| | | @Field("search") search: String?, |
| | | @Field("shopId") shopId: String? |
| | | |
| | | ): Flowable<ResultData<List<Goods>>> |
| | | @FormUrlEncoded |
| | | @POST(Apis.redemptionDetails) |
| | | fun redemptionDetails( |
| | | @Field("detailsId") goodId: String |
| | |
| | | |
| | | @POST(Apis.cancellation) |
| | | fun cancellation(): Flowable<ResultData<Any>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.queryStoreFreeBenefit) |
| | | fun queryStoreFreeBenefit( |
| | | @Field("id") id: String |
| | | ): Flowable<ResultData<JsonObject>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST |
| | | fun addStudent( |
| | | @Url url: String, |
| | | @Field("birthday") birthday: String, |
| | | @Field("headImg") headImg: String, |
| | | @Field("height") height: Double, |
| | | @Field("weight") weight: Double, |
| | | @Field("sex") sex: Int, |
| | | @Field("name") name: String, |
| | | @Field("phone") phone: String?, |
| | | @Field("idCard") idCard: String?, |
| | | @Field("stuId") stuId: String?, |
| | | @Field("id") id: String? |
| | | ): Flowable<ResultData<Any>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.addParticipant) |
| | | fun addParticipant( |
| | | @Field("headImg") avatar: String, |
| | | @Field("birthday") birthday: String, |
| | | @Field("height") height: Double, |
| | | @Field("weight") weight: Double, |
| | | @Field("gender") sex: Int, |
| | | @Field("name") name: String, |
| | | @Field("phone") phone: String?, |
| | | @Field("idcard") idCard: String? |
| | | ): Flowable<ResultData<Any>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.editParticipant) |
| | | fun editParticipant( |
| | | @Field("headImg") avatar: String, |
| | | @Field("id") id: String, |
| | | @Field("height") height: Int?, |
| | | @Field("weight") weight: Double?, |
| | | @Field("phone") phone: String?, |
| | | @Field("birthday") birthday: String?, |
| | | @Field("name") name: String?, |
| | | @Field("gender") gender: Int?, |
| | | @Field("idcard") idcard: String? |
| | | ): Flowable<ResultData<Any>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.delParticipant) |
| | | fun delParticipant( |
| | | @Field("id") id: String, |
| | | @Field("isStudent") isStudent: Int? |
| | | ): Flowable<ResultData<Any>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.cancelMyCompetition) |
| | | fun cancelMyCompetition( |
| | | @Field("id") id: String |
| | | ): Flowable<ResultData<Any>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.paymentCompetitionCourseList) |
| | | fun paymentCompetitionCourseList(@Field("id") id: String): Flowable<ResultData<List<PayCourse>>> |
| | | |
| | | @POST(Apis.exitLearning) |
| | | fun exitLearning(@Body body: String): Flowable<ResultData<Any>> |
| | |
| | | @GET(Apis.teamSchedule) |
| | | fun teamSchedule(@Query("day") day:Int,@Query("type") type:Int,@Query("week") week:Int): Flowable<ResultData<ProgressBean>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST |
| | | fun listOfStu(@Url url: String,@Field("isPre") isPre: Int?): Flowable<ResultData<List<Student>>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.weekLimitedBenefit) |
| | | fun weekLimitedBenefit( |
| | | @Field("discountType") discountType: Int, |
| | | @Field("lat") lat: Double?, |
| | | @Field("lon") lon: Double? |
| | | ): Flowable<ResultData<ArrayList<Welfare>>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.queryAvailableCouponList) |
| | | fun queryAvailableCouponList( |
| | | @Field("coursePackageId") coursePackageId: String, |
| | | @Field("price") price: Double, |
| | | @Field("lat") lat: Double?, |
| | | @Field("lon") lon: Double? |
| | | ): Flowable<ResultData<ArrayList<Coupon>>> |
| | | |
| | | @GET(Apis.goodTypeStudy) |
| | | fun goodTypeStudy(): Flowable<ResultData<ArrayList<GoodsType>>> |
| | |
| | | @Body phoneRequest : String |
| | | ): Flowable<ResultData<Any>> |
| | | |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.updateInfo) |
| | | fun updateInfo( |
| | | @Field("birthday") birthday: String?, |
| | | @Field("gender") gender: Int?, |
| | | @Field("name") name: String? |
| | | ): Flowable<ResultData<Any>> |
| | | |
| | | @POST(Apis.goodListStudy) |
| | | fun goodListStudy( |
| | | @Body body:String |
| | |
| | | @GET(Apis.exchangeRecord) |
| | | fun exchangeRecord(@Query("pageNumber") page:Int,@Query("pageSize") pageSize: Int = 30): Flowable<ResultData<ExchangeRecordBean>> |
| | | |
| | | @Headers("notapp:true") |
| | | @FormUrlEncoded |
| | | @POST(Apis.gameRecord) |
| | | fun gameRecord( |
| | | @Field("uid") uid: String, |
| | | @Field("page") page: Int, |
| | | @Field("limit") limit: Int = 10, |
| | | @Field("sign") storeId: String = "0DB011836143EEE2C2E072967C9F4E4B" |
| | | ): Flowable<ResultData<List<GameRecordBean>>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.registeredData) |
| | | fun registeredData( |
| | |
| | | @Field("coursePayId") coursePayId: String, |
| | | @Field("orderId") orderId: String |
| | | ): Flowable<ResultData<JoinedCourse>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.storeList) |
| | | fun storeList( |
| | | @Field("latitude") lat: Double?, |
| | | @Field("longitude") lon: Double?, |
| | | @Field("cityCode") cityCode: String?, |
| | | @Field("space") space: Int?, |
| | | @Field("search") search: String? |
| | | ): Flowable<ResultData<List<ShopListBean>>> |
| | | |
| | | @POST(Apis.noticeList) |
| | | fun noticeList(): Flowable<ResultData<List<Notice>>> |
| | | |
| | | @POST(Apis.exceptionList) |
| | | fun exceptionList(): Flowable<ResultData<List<Notice>>> |
| | | |
| | | @POST(Apis.customerList) |
| | | fun customerList(): Flowable<ResultData<List<String>>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST |
| | |
| | | @Field("noId") noId: String, |
| | | @Field("quesId") quesId: String |
| | | ): Flowable<ResultData<Notice>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.storeDetail) |
| | | fun storeDetail(@Field("storeId") storeId: String): Flowable<ResultData<ShopDetail>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.saveEvaluation) |
| | | fun saveEvaluation( |
| | | @Field("storeId") storeId: String, |
| | | @Field("content") content: String?, |
| | | @Field("imgs") imgs: String?, |
| | | @Field("score") score: Double |
| | | ): Flowable<ResultData<Any>> |
| | | |
| | | @POST(Apis.getHomeModule) |
| | | fun getHomeModule(): Flowable<ResultData<Banner>> |
| | | |
| | | @POST(Apis.getCompletedWorldCupTips) |
| | | fun getCompletedWorldCupTips(): Flowable<ResultData<Int>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.getWorldCupList) |
| | | fun getWorldCupList( |
| | | @Field("id") id: String, |
| | | @Field("lat") lat: Double?, |
| | | @Field("lon") lon: Double?, |
| | | @Field("gender") gender: Int?, |
| | | @Field("sort") sort: Int?, |
| | | @Field("storeId") storeId: Int?, |
| | | @Field("content") search: String? |
| | | ): Flowable<ResultData<List<WorldCupBean>>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.getWorldCupListCoach) |
| | | fun getWorldCupListCoach( |
| | | @Field("lat") lat: Double?, |
| | | @Field("lon") lon: Double?, |
| | | @Field("storeId") storeId: Int?, |
| | | @Field("content") search: String? |
| | | ): Flowable<ResultData<List<WorldCupBean>>> |
| | | |
| | | @POST(Apis.getWorldCupStore) |
| | | fun getWorldCupStore(): Flowable<ResultData<List<CommonData>>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.getWorldCupInfo) |
| | | fun getWorldCupInfo(@Field("id") id: String, |
| | | @Field("lat") lat: Double?, |
| | | @Field("lon") lon: Double?): Flowable<ResultData<WorldCupBean>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.paymentWorldCup) |
| | | fun paymentWorldCup(@Field("id") id: String,@Field("ids") ids: String,@Field("payType") payType: Int): Flowable<ResultData<PayInfo>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.getEntrantRank) |
| | | fun getEntrantRank(@Field("id") id: String,@Field("isStudent") isStudent: Int): Flowable<ResultData<Rank>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.getMyWorldCupList) |
| | | fun getMyWorldCupList(@Field("id") id: String,@Field("isStudent") isStudent: Int, |
| | | @Field("state") state: Int, @Field("pageNo") page: Int, |
| | | @Field("pageSize") limit: Int = 10): Flowable<ResultData<List<WorldCupBean>>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.getWorldCupMatchRecord) |
| | | fun getWorldCupMatchRecord(@Field("id") id: String,@Field("isStudent") isStudent: Int, @Field("pageNo") page: Int, |
| | | @Field("pageSize") limit: Int = 20): Flowable<ResultData<WorldCupRecord>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.getWorldCupRank) |
| | | fun getWorldCupRank(@Field("id") id: String,@Field("isStudent") isStudent: Int, @Field("radius") radius: Int, |
| | | @Field("sort") sort: Int,@Field("year") year: Int?): Flowable<ResultData<List<WorldRank>>> |
| | | |
| | | @POST(Apis.getParticipant) |
| | | fun getParticipant(): Flowable<ResultData<List<Student>>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.getMyWorldCupInfo) |
| | | fun getMyWorldCupInfo(@Field("id") id: String,@Field("lat") lat: Double?, |
| | | @Field("lon") lon: Double?): Flowable<ResultData<WorldCupBean>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.cancelMyWorldCup) |
| | | fun cancelMyWorldCup(@Field("id") id: String): Flowable<ResultData<Any>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.getWorldCupPeople) |
| | | fun getWorldCupPeople(@Field("code") code: String,@Field("worldCupId") worldCupId: String): Flowable<ResultData<CodeResultUser>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.getDeviceInformation) |
| | | fun getDeviceInformation(@Field("code") code: String): Flowable<ResultData<DeviceBean>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.startWorldCup) |
| | | fun startWorldCup(@Field("code") code: String,@Field("people") people: String,@Field("worldCupId") worldCupId: String): Flowable<ResultData<Any>> |
| | | } |