Skip to content

Commit

Permalink
Update transfer.go
Browse files Browse the repository at this point in the history
  • Loading branch information
qjfoidnh committed Dec 10, 2024
1 parent 9b3aa24 commit 07f4635
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/pcscommand/transfer.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package pcscommand
import (
"encoding/base64"
"fmt"
"net/url"
"path"
"regexp"
"strconv"
Expand Down Expand Up @@ -79,7 +80,8 @@ func RunShareTransfer(params []string, opt *baidupcs.TransferOption) {
return
}

featuremap["sekey"] = randsk
sekey, _ := url.QueryUnescape(randsk)
featuremap["sekey"] = sekey
featuremap["bdstoken"] = tokens["bdstoken"]
queryShareInfoUrl := pcs.GenerateShareQueryURL("list", featuremap).String()
//metajsonstr := tokens["metajson"]
Expand Down

0 comments on commit 07f4635

Please sign in to comment.