| | |
| | | ): Flowable<ResultData<Coupon>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.pay) |
| | | fun pay( |
| | | @Field("id") id: String, |
| | | @Field("payType") payType : Int, |
| | | @Field("buyType") buyType: Int |
| | | ): Flowable<ResultData<PayInfo>> |
| | | |
| | | @FormUrlEncoded |
| | | @POST(Apis.myFind) |
| | | fun myFind( |
| | | @Field("pageNum") pageNum: Int, |
| | |
| | | fun verifyCellPhone( |
| | | @Header("Authorization") token: String, |
| | | @Body body: String |
| | | ): Flowable<ResultData<Any>> |
| | | ): Flowable<ResultData<LoginBean>> |
| | | |
| | | @GET(Apis.getTagList) |
| | | fun getTagList(): Flowable<ResultData<ArrayList<TagBean>>> |
| | |
| | | @Query("courseId") courseId: String |
| | | ): Flowable<ResultData<ConfirmOrder>> |
| | | |
| | | @POST(Apis.payOrder) |
| | | fun payOrder( |
| | | @Query("id") orderId: String, |
| | | @Query("type") type: Int = 1 |
| | | ): Flowable<ResultData<ConfirmOrder>> |
| | | |
| | | @GET(Apis.cancel) |
| | | fun cancel( |
| | | @Query("uid") orderId: String |
| | | ): Flowable<ResultData<Any>> |
| | | |
| | | @POST(Apis.confirmOrderVoice) |
| | | fun confirmOrderVoice( |
| | | @Query("meditationId") meditationId: String |
| | |
| | | @Query("timeLook") timeLook: Int, |
| | | @Query("id") id: String |
| | | ): Flowable<ResultData<Any>> |
| | | |
| | | @POST(Apis.saveUserHomeBackgroundMusic) |
| | | fun saveUserHomeBackgroundMusic( |
| | | @Query("id") id: String |
| | | ): Flowable<ResultData<Any>> |
| | | |
| | | @GET(Apis.getHomeBackgroundMusicByUserId) |
| | | fun getHomeBackgroundMusicByUserId(): Flowable<ResultData<BGMBean>> |
| | | |
| | | @POST(Apis.gvieCourse) |
| | | fun gvieCourse( |
| | |
| | | @Query("minuteLook") minuteLook: Int = 0 //用不到分 |
| | | ): Flowable<ResultData<Any>> |
| | | |
| | | @POST(Apis.queryPayment) |
| | | fun queryPayment( |
| | | @Query("orderId") orderId: String |
| | | ): Flowable<ResultData<String>> |
| | | |
| | | @POST(Apis.isFirst) |
| | | fun isFirst(): Flowable<ResultData<Boolean>> |
| | | |
| | |
| | | @Query("amount") amount: Double?, |
| | | @Query("receiverId") receiverId: String?, |
| | | @Query("targetId") targetId: String?, |
| | | @Query("vipType") vipType: Int? |
| | | ): Flowable<ResultData<PayInfo>> |
| | | @Query("vipType") vipType: Int?, |
| | | @Query("orderId") orderId: String? |
| | | ): Flowable<ResultData<ThirdPayInfo>> |
| | | |
| | | @POST(Apis.updateUserAvatar) |
| | | fun updateUserAvatar( |