新增阿里云OSS上传文件逻辑
This commit is contained in:
parent
fea04f12d7
commit
111e450096
|
@ -99,7 +99,6 @@ func (l *UploadFileBaseLogic) UploadFileBase(req *types.UploadFileBaseReq, useri
|
|||
upload.AliyunOSS.BucketUrl = l.svcCtx.Config.AliyunOSS.BucketUrl
|
||||
upload.AliyunOSS.BasePath = l.svcCtx.Config.AliyunOSS.BasePath
|
||||
time.AfterFunc(time.Second*1, func() {
|
||||
|
||||
err = upload.UploadFileByUrl(resourceId, uploadRes.ResourceUrl)
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user