Swiggy v4.51.1版本的 MD5 值为:5af7ec91512a0a8c1510e3f8bac20b8b
以下内容为反编译后的 ICloudinaryApi.java 源代码,内容仅作参考
package in.swiggy.android.tejas.feature.cloudinaryupload;
import in.swiggy.android.tejas.feature.cloudinaryupload.imageupload.data.GenerateTokenApiResponse;
import io.reactivex.s;
import java.util.Map;
import okhttp3.MultipartBody;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;
public interface ICloudinaryApi {
@GET("https://stores.swiggy.com/generate-token")
s<GenerateTokenApiResponse> generateSigningToken(@Query("timestamp") long j, @Query("upload_preset") String str);
@POST("https://api.cloudinary.com/v1_1/swiggy/image/upload")
s<Map<Object, Object>> uploadImage(@Body MultipartBody multipartBody);
}