From 91d1adf05718a44f5f713ea4222996b473a88647 Mon Sep 17 00:00:00 2001 From: withchao <993506633@qq.com> Date: Thu, 2 Nov 2023 16:41:51 +0800 Subject: [PATCH] feat: cache optimize --- pkg/common/db/cache/s3.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkg/common/db/cache/s3.go b/pkg/common/db/cache/s3.go index ed9b7bc47..a63496d05 100644 --- a/pkg/common/db/cache/s3.go +++ b/pkg/common/db/cache/s3.go @@ -182,9 +182,9 @@ func (g *minioCacheRedis) GetThumbnailKey(ctx context.Context, key string, forma } type MinioImageInfo struct { - IsImg bool `json:"i,omitempty"` - Width int `json:"w,omitempty"` - Height int `json:"h,omitempty"` - Format string `json:"f,omitempty"` - Etag string `json:"e,omitempty"` + IsImg bool `json:"isImg"` + Width int `json:"width"` + Height int `json:"height"` + Format string `json:"format"` + Etag string `json:"etag"` }