| | |
| | | ): 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("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("targetId") courseId: String, |
| | |
| | | @Query("secondLook") secondLook: Int, |
| | | @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( |