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}, }