mirror of
https://github.com/whitechi73/OpenShamrock.git
synced 2024-08-14 13:12:17 +08:00
fileType加入空匹配,可支持空传
This commit is contained in:
parent
f030104ff2
commit
8c33267887
@ -23,7 +23,7 @@ import java.util.Base64
|
||||
val targetFile = FileUtils.getFileByMd5(file)
|
||||
return if (targetFile.exists()) {
|
||||
when (fileType) {
|
||||
"base64" -> ok(
|
||||
"base64", "" -> ok(
|
||||
OutResourceByBase64(
|
||||
"/res/${targetFile.nameWithoutExtension}",
|
||||
Base64.getEncoder()
|
||||
|
Loading…
x
Reference in New Issue
Block a user