直链API添加文件信息

修复蓝奏目录文件大小处理报错问题 #120
This commit is contained in:
q
2025-08-19 18:56:42 +08:00
parent 2092230a61
commit a66bf84381
13 changed files with 382 additions and 32 deletions

View File

@@ -72,6 +72,9 @@ public class FileInfo {
//预览地址
private String previewUrl;
// 文件hash默认类型为md5
private String hash;
/**
* 扩展参数
*/
@@ -210,6 +213,15 @@ public class FileInfo {
return this;
}
public String getHash() {
return hash;
}
public FileInfo setHash(String hash) {
this.hash = hash;
return this;
}
public Map<String, Object> getExtParameters() {
return extParameters;
}