新增文件列表解析接口/redirectUrl/:type/:param

This commit is contained in:
QAIU
2025-02-10 14:19:18 +08:00
parent fc91192d0e
commit 0bbef0c7a9
7 changed files with 209 additions and 38 deletions

View File

@@ -58,10 +58,21 @@ public class FileInfo {
*/
private Integer downloadCount;
/**
* 网盘标识
*/
private String panType;
/**
* nfd下载链接(可能获取不到)
* note: 不是下载直链
*/
private String parserUrl;
/**
* 扩展参数
*/
private Map<String, Object> extParameters;;
private Map<String, Object> extParameters;
public String getFileName() {
return fileName;
@@ -81,6 +92,15 @@ public class FileInfo {
return this;
}
public String getFileIcon() {
return fileIcon;
}
public FileInfo setFileIcon(String fileIcon) {
this.fileIcon = fileIcon;
return this;
}
public Long getSize() {
return size;
}
@@ -162,6 +182,24 @@ public class FileInfo {
return this;
}
public String getPanType() {
return panType;
}
public FileInfo setPanType(String panType) {
this.panType = panType;
return this;
}
public String getParserUrl() {
return parserUrl;
}
public FileInfo setParserUrl(String parserUrl) {
this.parserUrl = parserUrl;
return this;
}
public Map<String, Object> getExtParameters() {
return extParameters;
}
@@ -171,15 +209,6 @@ public class FileInfo {
return this;
}
public String getFileIcon() {
return fileIcon;
}
public FileInfo setFileIcon(String fileIcon) {
this.fileIcon = fileIcon;
return this;
}
@Override
public String toString() {
return "FileInfo{" +