pull/32/head
kunfei 5 years ago
parent 421099e683
commit 428061ec3c
  1. 2
      app/src/main/java/io/legado/app/data/entities/SearchBook.kt
  2. 4
      app/src/main/java/io/legado/app/model/webbook/BookList.kt

@ -26,7 +26,7 @@ data class SearchBook(
var wordCount: String? = null,
var latestChapterTitle: String? = null,
var tocUrl: String = "", // 目录页Url (toc=table of Contents)
var time: Long = 0L,
var time: Long = System.currentTimeMillis(),
var variable: String? = null,
var bookInfoHtml: String? = null,
var originOrder: Int = 0

@ -133,8 +133,6 @@ object BookList {
SourceDebug.printLog(bookSource.bookSourceUrl, 1, "获取最新章节")
searchBook.latestChapterTitle = analyzeRule.getString(lastChapter ?: "")
SourceDebug.printLog(bookSource.bookSourceUrl, 1, searchBook.latestChapterTitle ?: "")
searchBook.time = System.currentTimeMillis()
searchBook.originOrder = bookSource.customOrder
return searchBook
}
}
@ -187,8 +185,6 @@ object BookList {
SourceDebug.printLog(bookSource.bookSourceUrl, 1, "获取最新章节", printLog)
searchBook.latestChapterTitle = analyzeRule.getString(ruleLastChapter)
SourceDebug.printLog(bookSource.bookSourceUrl, 1, searchBook.latestChapterTitle ?: "", printLog)
searchBook.time = System.currentTimeMillis()
searchBook.originOrder = bookSource.customOrder
return searchBook
}
return null

Loading…
Cancel
Save