This commit is contained in:
Horis 2023-07-02 10:40:31 +08:00
parent dcc01ec921
commit 593c307b87

View File

@ -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(