mirror of
https://github.com/qaiu/netdisk-fast-download.git
synced 2026-11-27 07:37:00 +00:00
优化内核, QQ邮箱微信账户分享,添加123请求header
This commit is contained in:
1 parent
ce0c3b3a1e
commit
339b80bbea
13 files changed
+173
-38
No files matched your search
@@ -20,9 +20,9 @@ public class FileInfo {
|
||||
Long size;
|
||||
|
||||
/**
|
||||
* MIME类型
|
||||
* 类型
|
||||
*/
|
||||
String fileMIME;
|
||||
String fileType;
|
||||
|
||||
/**
|
||||
* 文件路径
|
||||
@@ -34,6 +34,11 @@ public class FileInfo {
|
||||
*/
|
||||
String createTime;
|
||||
|
||||
/**
|
||||
* 上次修改时间
|
||||
*/
|
||||
String updateTime;
|
||||
|
||||
/**
|
||||
* 创建者
|
||||
*/
|
||||
@@ -81,12 +86,12 @@ public class FileInfo {
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getFileMIME() {
|
||||
return fileMIME;
|
||||
public String getFileType() {
|
||||
return fileType;
|
||||
}
|
||||
|
||||
public FileInfo setFileMIME(String fileMIME) {
|
||||
this.fileMIME = fileMIME;
|
||||
public FileInfo setFileType(String fileType) {
|
||||
this.fileType = fileType;
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -108,6 +113,15 @@ public class FileInfo {
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getUpdateTime() {
|
||||
return updateTime;
|
||||
}
|
||||
|
||||
public FileInfo setUpdateTime(String updateTime) {
|
||||
this.updateTime = updateTime;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getCreateBy() {
|
||||
return createBy;
|
||||
}
|
||||
|
||||
@@ -13,7 +13,13 @@ public class ShareLinkInfo {
|
||||
private String shareUrl; // 原始分享链接
|
||||
private String standardUrl; // 规范化的标准链接
|
||||
|
||||
private Map<String, Object> otherParam; // 其他参数
|
||||
/**
|
||||
* 其他参数预定义
|
||||
* auths: 认证相关 传入
|
||||
* UA: 浏览器请求头 传入
|
||||
* fileInfo: 解析成功的文件信息对象 传出
|
||||
*/
|
||||
private Map<String, Object> otherParam;
|
||||
|
||||
private ShareLinkInfo(Builder builder) {
|
||||
this.shareKey = builder.shareKey;
|
||||
|
||||
Reference in new issue
Block a user