修改
continuous-integration/drone/push Build is passing Details

main
jhc 9 months ago
parent 8011895c88
commit 6ba25481df

@ -100,7 +100,7 @@ func (f *File) Upload(req *dci.GetUploadUrlRequest) (res *dci.GetUploadUrlRespon
code, result := utils.PutFromFileUrlWithStream(tea.ToString(res.Url), fileName, req.FileName) code, result := utils.PutFromFileUrlWithStream(tea.ToString(res.Url), fileName, req.FileName)
if code != 200 { if code != 200 {
return res, errCommon.ReturnError(err, result, "上传文件 错误:") return res, errCommon.ReturnError(errors.New(result), result, "上传文件 错误:")
} }
return return
} }

Loading…
Cancel
Save