lmw
2023-06-16 03972ad1d3ce6ffe0be0395c0a4d5dcb4474031f
app/src/main/java/com/kuanzhai/user/network/ApiService.kt
@@ -450,4 +450,53 @@
    @FormUrlEncoded
    @POST(Apis.getCompanyLimitList)
    fun getCompanyLimitList(@Field("pageNum") page:Int, @Field("size") size:Int = Const.PAGE_SIZE): Flowable<ResultData<List<CreditApply>>>
    @FormUrlEncoded
    @POST(Apis.getMineLimitList)
    fun getMineLimitList(@Field("pageNum") page:Int, @Field("size") size:Int = 50): Flowable<ResultData<MyCreditBean>>
    @FormUrlEncoded
    @POST(Apis.companyLimitApprove)
    fun companyLimitApprove(@Field("id") id:String,@Field("status") status:Int, @Field("remark") remark:String?): Flowable<ResultData<Any>>
    @POST(Apis.validPermission)
    fun validPermission(): Flowable<ResultData<JsonObject>>
    @POST(Apis.getBusinessReason)
    fun getBusinessReason(): Flowable<ResultData<List<Reason>>>
    @FormUrlEncoded
    @POST(Apis.queryBusinessCarModel)
    fun queryBusinessCarModel(@Field("startLonLat")startLonLat:String,@Field("endLonLat")endLonLat:String, @Field("calType") calType :Int,
                              @Field("endTime") endTime :String?, @Field("startTime") startTime :String?): Flowable<ResultData<ArrayList<CarPrice>>>
    @POST(Apis.queryStaff)
    fun queryStaff(): Flowable<ResultData<List<Passenger>>>
    @FormUrlEncoded
    @POST(Apis.setSound)
    fun setSound(@Field("soundSet")soundSet:Int): Flowable<ResultData<Any>>
    @FormUrlEncoded
    @POST(Apis.saveOrderBusiness)
    fun saveOrderBusiness(@Field("calType") calType:Int,@Field("endAddress") endAddress:String,@Field("endLat") endLat:Double,
                          @Field("endLon") endLon:Double,@Field("isNotice") isNotice:Int,@Field("orderSource") orderSource:Int,
                          @Field("orderType") orderType:Int,@Field("payWay") payWay:Int,@Field("people") people:String,
                          @Field("reason") reason:String?,@Field("reasonTypeNames") reasonTypeNames:String?,
                          @Field("peopleNum") peopleNum:Int,@Field("placementLat") placementLat:Double,@Field("placementLon") placementLon:Double,
                          @Field("serverCarModelId") serverCarModelId:Int?,@Field("startLat") startLat:Double, @Field("startLon") startLon:Double,
                          @Field("startAddress") startAddress:String,@Field("substitute") substitute:Int,@Field("travelEndTime") travelEndTime:String?,
                          @Field("travelTime") travelTime:String, @Field("type") type :Int, @Field("driverId") driverId :Int?): Flowable<ResultData<JsonObject>>
    @FormUrlEncoded
    @POST(Apis.approveOrderList)
    fun approveOrderList(@Field("pageNum") page:Int, @Field("size") size:Int = Const.PAGE_SIZE): Flowable<ResultData<List<OrderCheckListBean>>>
    @FormUrlEncoded
    @POST(Apis.approveOrderDetail)
    fun approveOrderDetail(@Field("id") id:String): Flowable<ResultData<OrderCheckDetail>>
    @FormUrlEncoded
    @POST(Apis.approveOrder)
    fun approveOrder(@Field("id") id:String,@Field("auditStatus") auditStatus:Int,@Field("auditRemark") auditRemark:String?): Flowable<ResultData<Any>>
}