Commit 3535965d by Li Feifei

debug

parent 2776437c
Pipeline #17125 failed with stages
in 4 seconds
......@@ -3,7 +3,7 @@ module ppt_server
go 1.16
require (
github.com/aliyun/aliyun-oss-go-sdk v2.1.9+incompatible
github.com/aliyun/aliyun-oss-go-sdk v2.2.0+incompatible
github.com/baiyubin/aliyun-sts-go-sdk v0.0.0-20180326062324-cfa1a18b161f // indirect
github.com/chai2010/webp v1.1.0
github.com/gogf/gf v1.16.6
......@@ -12,6 +12,7 @@ require (
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
github.com/satori/go.uuid v1.2.0 // indirect
github.com/xxjwxc/gowp v0.0.0-20210520113007-57eb4693b12d
gitlab.eoffcn.com/cloud/goforest v0.3.6 // indirect
golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d // indirect
golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 // indirect
golang.org/x/time v0.0.0-20210611083556-38a9dc6acbc6 // indirect
......
......@@ -24,6 +24,7 @@ import (
"github.com/gogf/gf/frame/g"
"github.com/gogf/gf/os/gtime"
"github.com/xxjwxc/gowp/workpool"
"gitlab.eoffcn.com/cloud/goforest/helper/vhttp"
)
// 解析URL返回基本信息
......@@ -210,7 +211,7 @@ func (f *ObtainFile) Worker(err error) {
g.Log().Async().Infof("[1/4] file: %s file info complete", f.parser.filename())
// 下载ZIP包
if err = http.Download(f.splitDownloadLink(), f.parser.splitTempZipLink()); err != nil {
if err = vhttp.Download(f.splitDownloadLink(), f.parser.splitTempZipLink()); err != nil {
return
}
g.Log().Async().Infof("[2/4] file: %s zip donwload complete", f.parser.filename())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment