Skip to content

Commit

Permalink
fix transfer
Browse files Browse the repository at this point in the history
  • Loading branch information
qjfoidnh committed Jun 23, 2024
1 parent b1cf39a commit 5612fc3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions baidupcs/transfer.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@ func (pcs *BaiduPCS) GenerateShareQueryURL(subPath string, params map[string]str
Path: "/share/" + subPath,
}
uv := shareURL.Query()
//uv.Set("app_id", PanAppID)
//uv.Set("channel", "chunlei")
uv.Set("time", strconv.Itoa(int(time.Now().UnixMilli())))
//uv.Set("web", "1")
uv.Set("clienttype", "1")
for key, value := range params {
uv.Set(key, value)
Expand Down
1 change: 0 additions & 1 deletion internal/pcscommand/transfer.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ func RunShareTransfer(params []string, opt *baidupcs.TransferOption) {
var vefiryurl string
var randsk string
featuremap := make(map[string]string)
//featuremap["surl"] = featurestr[1:len(featurestr)]
featuremap["shareid"] = tokens["shareid"]
featuremap["uk"] = tokens["share_uk"]
if extracode != "none" {
Expand Down

0 comments on commit 5612fc3

Please sign in to comment.