|
|
|
@ -173,6 +173,7 @@ class BookSourceEditActivity : |
|
|
|
|
add(EditEntity("loginUrl", source?.loginUrl, R.string.login_url)) |
|
|
|
|
add(EditEntity("bookUrlPattern", source?.bookUrlPattern, R.string.book_url_pattern)) |
|
|
|
|
add(EditEntity("header", source?.header, R.string.source_http_header)) |
|
|
|
|
add(EditEntity("bookSourceComment", source?.bookSourceComment, R.string.comment)) |
|
|
|
|
} |
|
|
|
|
//搜索 |
|
|
|
|
val sr = source?.getSearchRule() |
|
|
|
@ -262,6 +263,7 @@ class BookSourceEditActivity : |
|
|
|
|
"loginUrl" -> source.loginUrl = it.value |
|
|
|
|
"bookUrlPattern" -> source.bookUrlPattern = it.value |
|
|
|
|
"header" -> source.header = it.value |
|
|
|
|
"bookSourceComment" -> source.bookSourceComment = it.value ?: "" |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
searchEntities.forEach { |
|
|
|
|