diff --git a/server/product/internal/logic/savedesignlogic.go b/server/product/internal/logic/savedesignlogic.go index 38f2f8d1..bd24b778 100644 --- a/server/product/internal/logic/savedesignlogic.go +++ b/server/product/internal/logic/savedesignlogic.go @@ -113,11 +113,11 @@ func (l *SaveDesignLogic) SaveDesign(req *types.SaveDesignReq, userinfo *auth.Us if postInfo.Cover == "" { return resp.SetStatusWithMessage(basic.CodeOK, "success", types.SaveDesignRsp{Sn: postInfo.Sn}) } - //生成各个尺寸缩略图 - if err = l.CreateStepThumbnailImage(l.ctx, postInfo.Cover); err != nil { + // TODO 生成各个尺寸缩略图 ????需要整改为基于aws 云存储 + /*if err = l.CreateStepThumbnailImage(l.ctx, postInfo.Cover); err != nil { logx.Error(err) return resp.SetStatusWithMessage(basic.CodeServiceErr, "failed to create step thumbnail image ") - } + }*/ return resp.SetStatusWithMessage(basic.CodeOK, "success", types.SaveDesignRsp{Sn: postInfo.Sn}) }