mirror of
https://github.com/qaiu/netdisk-fast-download.git
synced 2026-02-24 14:15:24 +00:00
优化内核, QQ邮箱微信账户分享,添加123请求header
This commit is contained in:
@@ -93,6 +93,7 @@ public class ParserApi {
|
||||
return Arrays.stream(PanDomainTemplate.values()).map(pan -> new TreeMap<String, String>() {{
|
||||
put("name", pan.getDisplayName());
|
||||
put("type", pan.name().toLowerCase());
|
||||
put("shareUrlFormat", pan.getStandardUrlTemplate());
|
||||
put("url", pan.getPanDomain());
|
||||
}}).collect(Collectors.toList());
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@ package cn.qaiu.lz.web.model;
|
||||
import cn.qaiu.db.ddl.Length;
|
||||
import cn.qaiu.db.ddl.Table;
|
||||
import cn.qaiu.db.ddl.TableGenIgnore;
|
||||
import cn.qaiu.entity.FileInfo;
|
||||
import cn.qaiu.lz.common.ToJson;
|
||||
import io.vertx.codegen.annotations.DataObject;
|
||||
import io.vertx.core.json.JsonObject;
|
||||
@@ -48,6 +49,8 @@ public class CacheLinkInfo implements ToJson {
|
||||
*/
|
||||
private Long expiration;
|
||||
|
||||
private FileInfo fileInfo;
|
||||
|
||||
|
||||
// 使用 JsonObject 构造
|
||||
public CacheLinkInfo(JsonObject json) {
|
||||
|
||||
@@ -10,6 +10,7 @@ public class LinkInfoResp {
|
||||
// 解析链接
|
||||
private String downLink;
|
||||
private String apiLink;
|
||||
private String viewLink;
|
||||
private Integer cacheHitTotal;
|
||||
private Integer parserTotal;
|
||||
private Integer sumTotal;
|
||||
|
||||
Reference in New Issue
Block a user