1. 优化123pan日志, 2. 微博短链测试, 3. 分享类添加其他参数Map(Cookie支持准备)

This commit is contained in:
QAIU
2024-11-01 18:18:29 +08:00
parent b042df93b7
commit f07800985d
5 changed files with 69 additions and 35 deletions

View File

@@ -21,6 +21,7 @@ public class ShareLinkInfo {
this.sharePassword = builder.sharePassword;
this.shareUrl = builder.shareUrl;
this.standardUrl = builder.standardUrl;
this.otherParam = builder.otherParam;
}
// Getter和Setter方法
@@ -78,6 +79,14 @@ public class ShareLinkInfo {
return type + ":" + shareKey;
}
public ShareLinkInfo setOtherParam(Map<String, Object> otherParam) {
this.otherParam = otherParam;
return this;
}
public Map<String, Object> getOtherParam() {
return otherParam;
}
// 静态方法创建建造者对象
public static ShareLinkInfo.Builder newBuilder() {