mirror of
https://github.com/whitechi73/OpenShamrock.git
synced 2024-08-14 05:12:17 +00:00
get_record的ws加入单独的md5字段,方便后续get_file拿文件
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user