优化
This commit is contained in:
@@ -171,7 +171,7 @@ object BookHelp {
|
|||||||
ImageUtils.decode(
|
ImageUtils.decode(
|
||||||
src, bytes, isCover = false, bookSource, book
|
src, bytes, isCover = false, bookSource, book
|
||||||
)?.let {
|
)?.let {
|
||||||
if (!checkImage(bytes)) {
|
if (!checkImage(it)) {
|
||||||
throw NoStackTraceException("数据异常")
|
throw NoStackTraceException("数据异常")
|
||||||
}
|
}
|
||||||
FileUtils.createFileIfNotExist(
|
FileUtils.createFileIfNotExist(
|
||||||
|
|||||||
Reference in New Issue
Block a user