From 9fa2c7b00c9390d0fa1c1e117705ddcfc179977b Mon Sep 17 00:00:00 2001 From: zengge99 <83830807+zengge99@users.noreply.github.com> Date: Tue, 17 Sep 2024 21:26:45 +0800 Subject: [PATCH] Update driver.go --- drivers/alishare_115/driver.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/alishare_115/driver.go b/drivers/alishare_115/driver.go index 44fa863f102..bbffdb50cef 100644 --- a/drivers/alishare_115/driver.go +++ b/drivers/alishare_115/driver.go @@ -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)