[optimize] merge network write

This commit is contained in:
acite
2025-09-14 01:02:39 +08:00
parent ffa70d9d34
commit c330a1e70c
5 changed files with 54 additions and 13 deletions

View File

@@ -4,12 +4,14 @@ import com.acitelight.aether.model.BookMark
import com.acitelight.aether.model.ChallengeResponse
import com.acitelight.aether.model.ComicResponse
import com.acitelight.aether.model.VideoResponse
import okhttp3.Response
import okhttp3.ResponseBody
import retrofit2.http.Body
import retrofit2.http.GET
import retrofit2.http.POST
import retrofit2.http.Path
import retrofit2.http.Query
import retrofit2.http.Streaming
interface ApiInterface {
@GET("api/video")
@@ -56,4 +58,7 @@ interface ApiInterface {
@Path("user") user: String,
@Body challengeResponse: ChallengeResponse
): ResponseBody
@GET("api/abyss")
suspend fun hello(): ResponseBody
}