书源校验:更新逻辑
This commit is contained in:
@@ -143,8 +143,12 @@ class CheckSourceService : BaseService() {
|
|||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (source.hasGroup("搜索失效") && url.isNullOrBlank()) {
|
if (url.isNullOrBlank()) {
|
||||||
|
if (source.hasGroup("搜索失效")) {
|
||||||
throw NoStackTraceException("搜索内容为空并且没有发现")
|
throw NoStackTraceException("搜索内容为空并且没有发现")
|
||||||
|
} else {
|
||||||
|
throw NoStackTraceException("没有发现")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
books = WebBook.exploreBookAwait(this, source, url)
|
books = WebBook.exploreBookAwait(this, source, url)
|
||||||
if (books.isEmpty()) {
|
if (books.isEmpty()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user