lmw
2024-10-25 314b67e56f24f7bce040ae2b5d57c7eac7b197a9
app/src/main/java/com/sinata/xqmuse/network/ApiService.kt
@@ -212,6 +212,58 @@
        @Query("apipost_id") apipost_id: String = "37771d0cf0e312"
    ): Flowable<ResultData<Boolean>>
    @POST(Apis.balanceList)
    fun balanceList(
        @Query("pageCurr") pageNum: Int,
        @Query("state") state: Int,
        @Query("pageSize") size: Int,
        @Query("apipost_id") apipost_id: String = "361bdf11b992d0"
    ): Flowable<ResultData<WalletDetailBean>>
    @POST(Apis.balanceDetail)
    fun balanceDetail(
        @Query("id") id: String,
        @Query("apipost_id") apipost_id: String = "361bdf11b992cf"
    ): Flowable<ResultData<BalanceDetail>>
    @POST(Apis.bankList)
    fun bankList(
        @Query("apipost_id") apipost_id: String = "361bdf11f992d2"
    ): Flowable<ResultData<List<BankInfo>>>
    @POST(Apis.addBank)
    fun addBank(
        @Body body:String
    ): Flowable<ResultData<Any>>
    @POST(Apis.deleteBank)
    fun deleteBank(
        @Query("id") id: String
    ): Flowable<ResultData<Any>>
    @POST(Apis.withdraw)
    fun withdraw(
        @Query("bankId") id: String,
        @Query("money") money: Double
    ): Flowable<ResultData<Any>>
    @POST(Apis.noticeDetail)
    fun noticeDetail(
        @Query("id") id: String,
        @Query("apipost_id") apipost_id: String = "361bdf123992f8"
    ): Flowable<ResultData<MsgDetail>>
    @POST(Apis.changePhone)
    fun changePhone(
        @Query("code") code: String,
        @Query("phone") phone: String
    ): Flowable<ResultData<Any>>
    @POST(Apis.deleteUser)
    fun deleteUser(
        @Query("apipost_id") apipost_id: String = "361bdf11f992e7"
    ): Flowable<ResultData<Any>>
    @FormUrlEncoded
    @POST(Apis.withdrawalRecord)
    fun withdrawalRecord(
@@ -408,13 +460,9 @@
        @Query("apipost_id") apipost_id: String = "2fc350e9b99599"
    ): Flowable<ResultData<Any>>
    @FormUrlEncoded
    @POST(Apis.wallet)
    fun wallet(
        @Field("pageNum") pageNum: Int,
        @Field("month") month: Int?,
        @Field("year") year: Int?,
        @Field("pageSize") pageSize : Int = Const.PAGE_SIZE
        @Query("apipost_id") apipost_id: String = "3518e3f0b99420"
    ): Flowable<ResultData<WalletBean>>