fix:base上传强制更新

This commit is contained in:
momo
2023-08-22 10:54:33 +08:00
parent 0440bd02a4
commit 462ac4915b
7 changed files with 16 additions and 14 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,