| | |
| | | package com.dayu.qiheonlinelibrary.net; |
| | | |
| | | |
| | | import com.dayu.baselibrary.net.BaseApiService; |
| | | |
| | | import java.util.Map; |
| | | |
| | | import io.reactivex.rxjava3.core.Observable; |
| | |
| | | * Date: 2023-03-27 14:56 |
| | | * Description: |
| | | */ |
| | | public interface ApiService { |
| | | |
| | | public interface ApiService extends BaseApiService { |
| | | |
| | | |
| | | // @FormUrlEncoded |
| | | @POST() |
| | | Observable<BaseResponse> requestPost(@Url String url, @Body Map<String, Object> params); |
| | | |
| | | @POST() |
| | | Observable<BaseResponse> requestPost(@Url String url); |
| | | |
| | | @GET("{url}") |
| | | Observable<BaseResponse> requestGet(@Path("url") String url, @QueryMap Map<String, Object> params); |
| | | |