From 8659bdcf777847a5744054baffe478a19b38ef22 Mon Sep 17 00:00:00 2001 From: HFO4 <912394456@qq.com> Date: Tue, 11 May 2021 21:52:55 +0800 Subject: [PATCH] Fix: unable to read file from UPYUN (#472, #472, #836) --- pkg/filesystem/driver/upyun/handler.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkg/filesystem/driver/upyun/handler.go b/pkg/filesystem/driver/upyun/handler.go index 30fafa5..4431bc6 100644 --- a/pkg/filesystem/driver/upyun/handler.go +++ b/pkg/filesystem/driver/upyun/handler.go @@ -105,9 +105,6 @@ func (handler Driver) List(ctx context.Context, base string, recursive bool) ([] // Get 获取文件 func (handler Driver) Get(ctx context.Context, path string) (response.RSCloser, error) { - // 给文件名加上随机参数以强制拉取 - path = fmt.Sprintf("%s?v=%d", path, time.Now().UnixNano()) - // 获取文件源地址 downloadURL, err := handler.Source( ctx,