add miss fixed of #58

pull/61/head
alimy 2 years ago
parent ddf9a4fbfa
commit 03563cf0e1

@ -263,7 +263,7 @@ func DownloadAttachment(c *gin.Context) {
return return
} }
bucket, err := client.Bucket("paopao-assets") bucket, err := client.Bucket(global.AliossSetting.AliossBucket)
if err != nil { if err != nil {
global.Logger.Errorf("client.Bucket err: %v", err) global.Logger.Errorf("client.Bucket err: %v", err)
response.ToErrorResponse(errcode.DownloadReqError) response.ToErrorResponse(errcode.DownloadReqError)

Loading…
Cancel
Save