add miss fixed of #58

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

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

Loading…
Cancel
Save