From 48425fdfe76a4c193389f92aaca45f63391586a7 Mon Sep 17 00:00:00 2001 From: zengge99 <83830807+zengge99@users.noreply.github.com> Date: Mon, 17 Jun 2024 22:28:50 +0800 Subject: [PATCH] Update util.go --- drivers/quark_share/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/quark_share/util.go b/drivers/quark_share/util.go index b7d4e1a76cf..06bfde8f61e 100644 --- a/drivers/quark_share/util.go +++ b/drivers/quark_share/util.go @@ -134,7 +134,7 @@ func (d *QuarkShare) link(file model.Obj, fid string) (*model.Link, error) { r, err := d.request("/file/v2/play", http.MethodPost, func(req *resty.Request) { req.SetHeader("User-Agent", ua). SetBody(data) - }, &resp) + }, nil) fmt.Println("获取转码响应", file.GetName(), string(r)) if err != nil { fmt.Println("获取夸克直链失败", file.GetName(), err)