package cn.flightfeather.thirdapp.httpservice
|
|
import okhttp3.ResponseBody
|
import retrofit2.Call
|
import retrofit2.http.DELETE
|
import retrofit2.http.GET
|
import retrofit2.http.Path
|
import retrofit2.http.Url
|
|
/**
|
* @author riku
|
* Date: 2020/8/6
|
*/
|
interface MediaFileService {
|
@GET
|
fun downloadImage(@Url fileUrl: String): Call<ResponseBody>
|
|
@DELETE("mediafile/{MediaFileGUID}/ ")
|
fun deleteMediaFile(@Path("MediaFileGUID") mediaFileGuid: String): Call<ResponseBody>
|
}
|