[feat] Comic Bookmark

This commit is contained in:
acite
2025-09-05 12:57:50 +08:00
parent 18d021a8e5
commit 514e99d7db
7 changed files with 161 additions and 50 deletions

View File

@@ -1,5 +1,6 @@
package com.acitelight.aether.service
import com.acitelight.aether.model.BookMark
import com.acitelight.aether.model.Comic
import com.acitelight.aether.model.ComicResponse
import com.acitelight.aether.model.Video
@@ -69,4 +70,15 @@ object MediaManager
return null
}
}
suspend fun postBookmark(id: String, bookMark: BookMark): Boolean
{
try{
val j = ApiClient.api!!.postBookmark(id, token, bookMark)
return true
}catch (e: Exception)
{
return false
}
}
}