|
|
|
@ -99,7 +99,7 @@ data class Book( |
|
|
|
|
@ColumnInfo(defaultValue = "0") |
|
|
|
|
var originOrder: Int = 0, |
|
|
|
|
// 自定义书籍变量信息(用于书源规则检索书籍信息) |
|
|
|
|
var variable: String? = null, |
|
|
|
|
override var variable: String? = null, |
|
|
|
|
var readConfig: ReadConfig? = null |
|
|
|
|
) : Parcelable, BaseBook { |
|
|
|
|
|
|
|
|
@ -142,11 +142,6 @@ data class Book( |
|
|
|
|
GSON.fromJsonObject<HashMap<String, String>>(variable).getOrNull() ?: hashMapOf() |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
override fun putVariable(key: String, value: String?) { |
|
|
|
|
super.putVariable(key, value) |
|
|
|
|
variable = GSON.toJson(variableMap) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Ignore |
|
|
|
|
@IgnoredOnParcel |
|
|
|
|
override var infoHtml: String? = null |
|
|
|
|