From c929888e39f61e9f5e160ba2b9089ead2c095088 Mon Sep 17 00:00:00 2001 From: Noah Hsu Date: Fri, 23 Sep 2022 12:28:57 +0800 Subject: [PATCH] fix(123): change remove api (close #1760) --- drivers/123/driver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/123/driver.go b/drivers/123/driver.go index 78844623..c6d52874 100644 --- a/drivers/123/driver.go +++ b/drivers/123/driver.go @@ -164,7 +164,7 @@ func (d *Pan123) Remove(ctx context.Context, obj model.Obj) error { "operation": true, "fileTrashInfoList": []File{f}, } - _, err := d.request("https://www.123pan.com/a/api/file/trash", http.MethodPost, func(req *resty.Request) { + _, err := d.request("https://www.123pan.com/b/api/file/trash", http.MethodPost, func(req *resty.Request) { req.SetBody(data) }, nil) return err