Skip to content

Commit

Permalink
Update driver.go
Browse files Browse the repository at this point in the history
zengge99 authored Sep 17, 2024
1 parent 82a45bc commit 9fa2c7b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/alishare_115/driver.go
Original file line number Diff line number Diff line change
@@ -633,7 +633,8 @@ func (d *AliyundriveShare2Pan115) rapidUpload(fileSize int64, fileName, dirID, p
}

form.Set("t", t.String())
form.Set("token", d.client.GenerateToken(fileID, preID, t.String(), fileSizeStr, signKey, signVal))
//form.Set("token", d.client.GenerateToken(fileID, preID, t.String(), fileSizeStr, signKey, signVal))
form.Set("token", d.Generate115Token(fileID, preID, t.String(), fileSizeStr, signKey, signVal))
if signKey != "" && signVal != "" {
form.Set("sign_key", signKey)
form.Set("sign_val", signVal)

0 comments on commit 9fa2c7b

Please sign in to comment.