mirror of
https://github.com/whitechi73/OpenShamrock.git
synced 2024-08-14 13:12:17 +08:00
get_record的ws加入单独的md5字段,方便后续get_file拿文件
This commit is contained in:
parent
5e819179b4
commit
f030104ff2
@ -19,7 +19,7 @@ import java.util.Base64
|
||||
return invoke(file, fileType, session.echo)
|
||||
}
|
||||
|
||||
operator fun invoke(file: String, fileType: String, echo: JsonElement = EmptyJsonString): String {
|
||||
operator fun invoke(file: String, fileType: String = "base64", echo: JsonElement = EmptyJsonString): String {
|
||||
val targetFile = FileUtils.getFileByMd5(file)
|
||||
return if (targetFile.exists()) {
|
||||
when (fileType) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user