| | |
| | | package cn.flightfeather.thirdapp.httpservice; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | import cn.flightfeather.thirdapp.bean.vo.AreaVo; |
| | | import cn.flightfeather.thirdapp.bean.vo.ChargeInfoVo; |
| | | import cn.flightfeather.thirdapp.bean.vo.ProblemDetailVo; |
| | | import cn.flightfeather.thirdapp.bean.vo.ProblemlistVo; |
| | | import cn.flightfeather.thirdapp.bean.vo.StatisticsVo; |
| | | import cn.flightfeather.thirdapp.model.bean.BaseResponse; |
| | | import io.reactivex.Observable; |
| | | import okhttp3.ResponseBody; |
| | | import retrofit2.Call; |
| | | import retrofit2.Response; |
| | | import retrofit2.http.Body; |
| | | import retrofit2.http.Field; |
| | | import retrofit2.http.FormUrlEncoded; |
| | | import retrofit2.http.GET; |
| | | import retrofit2.http.POST; |
| | | import retrofit2.http.Path; |
| | | import retrofit2.http.Query; |
| | | |
| | | /** |
| | |
| | | //更新问题 |
| | | @POST("problemlist/") |
| | | Call<ResponseBody> updateProblemList(@Body ProblemlistVo problemlistVo); |
| | | |
| | | @GET("problemtype/byScene") |
| | | Observable<Response<ArrayList<ProblemDetailVo>>> getBySceneType(@Query("sceneTypeId") int sceneTypeId); |
| | | |
| | | /** |
| | | * 设置问题为删除状态 |
| | | */ |
| | | @POST("problemlist/{id}") |
| | | Call<BaseResponse<Integer>> deleteProblem(@Path("id") String problemId); |
| | | } |