From 477b4018331dd0cd51f9223a6c06e5ed1b443059 Mon Sep 17 00:00:00 2001 From: zengge99 <83830807+zengge99@users.noreply.github.com> Date: Mon, 17 Jun 2024 23:26:10 +0800 Subject: [PATCH] Update util.go --- drivers/quark_share/util.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/quark_share/util.go b/drivers/quark_share/util.go index a41edb62f3a..4c8493d5d9e 100644 --- a/drivers/quark_share/util.go +++ b/drivers/quark_share/util.go @@ -123,7 +123,7 @@ func (d *QuarkShare) delete(fid string) { }, nil) } -func (d *QuarkShare) link(file model.Obj, fid string) (*model.Link, error) { +func (d *QuarkShare) PreviewLink(file model.Obj, fid string) (*model.Link, error) { data := base.Json{ "fid": fid, "resolutions": "normal,low,high,super,2k,4k", @@ -155,7 +155,7 @@ func (d *QuarkShare) link(file model.Obj, fid string) (*model.Link, error) { }, nil } -func (d *QuarkShare) linkbk(file model.Obj, fid string) (*model.Link, error) { +func (d *QuarkShare) link(file model.Obj, fid string) (*model.Link, error) { data := base.Json{ "fids": []string{fid}, }