| | |
| | | import com.runt.open.mvvm.data.HttpApiResult; |
| | | import com.runt.open.mvvm.data.PageResult; |
| | | import com.runt.open.mvvm.data.Results; |
| | | |
| | | import java.util.Map; |
| | | |
| | | import io.reactivex.Observable; |
| | | import okhttp3.MultipartBody; |
| | | import okhttp3.ResponseBody; |
| | | import retrofit2.Call; |
| | | import retrofit2.http.Field; |
| | | import retrofit2.http.FieldMap; |
| | | import retrofit2.http.FormUrlEncoded; |
| | | import retrofit2.http.GET; |
| | | import retrofit2.http.Multipart; |
| | | import retrofit2.http.POST; |
| | | import retrofit2.http.Part; |
| | | import retrofit2.http.Query; |
| | | import retrofit2.http.QueryMap; |
| | | import retrofit2.http.Url; |
| | | import retrofit2.http.*; |
| | | |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * My father is Object, ites purpose of 常用接口 |
| | |
| | | |
| | | @Multipart |
| | | @POST("updatehead") |
| | | Call<ResponseBody> updateHead(@Part MultipartBody.Part file); |
| | | Observable<Results.StringApiResult> updateHead(@Part MultipartBody.Part file); |
| | | |
| | | |
| | | /** |