Merge branch 'develop' of https://gitee.com/fusenpack/fusenapi into develop

This commit is contained in:
eson
2023-08-22 13:43:41 +08:00
13 changed files with 42 additions and 21 deletions

View File

@@ -60,7 +60,7 @@ func (l *UploadFileFrontendLogic) UploadFileFrontend(req *types.RequestUploadFil
return resp.SetStatus(basic.CodeS3CategoryErr)
}
now := time.Now()
now := time.Now().UTC()
category := format.TypeCategory(req.Category)
ObjectKey := aws.String(format.FormatS3KeyName(
keytype,

View File

@@ -22,6 +22,7 @@ type UploadFileBaseReq struct {
GuestId int64 `form:"guest_id,optional"` // 上传文件额外信息
UploadBucket int64 `form:"upload_bucket,options=[1,2],default=1"` // 上传桶名:1=缓存,2=持久
Source string `form:"source"` // 上传来源
Refresh bool `form:"refresh,optional"` // 强制更新
}
type UploadLogoReq struct {