优化
This commit is contained in:
1 parent
c82502ee3b
commit
7640f4312b
2 files changed
+5
-6
No files matched your search
@@ -201,7 +201,7 @@ object BookController {
|
||||
/**
|
||||
* 保存书籍
|
||||
*/
|
||||
fun saveBook(postData: String?): ReturnData {
|
||||
suspend fun saveBook(postData: String?): ReturnData {
|
||||
val returnData = ReturnData()
|
||||
GSON.fromJsonObject<Book>(postData).getOrNull()?.let { book ->
|
||||
AppWebDav.uploadBookProgress(book)
|
||||
|
||||
Reference in new issue
Block a user