fix
This commit is contained in:
parent
78c09f1b40
commit
f7ed913470
|
@ -113,7 +113,7 @@ func (l *SaveDesignLogic) SaveDesign(req *types.SaveDesignReq, userinfo *auth.Us
|
|||
if postInfo.Cover == "" {
|
||||
return resp.SetStatusWithMessage(basic.CodeOK, "success", types.SaveDesignRsp{Sn: postInfo.Sn})
|
||||
}
|
||||
// TODO 生成各个尺寸缩略图 ????需要整改为基于aws 云存储
|
||||
// TODO 图片待优化处理
|
||||
/*if err = l.CreateStepThumbnailImage(l.ctx, postInfo.Cover); err != nil {
|
||||
logx.Error(err)
|
||||
return resp.SetStatusWithMessage(basic.CodeServiceErr, "failed to create step thumbnail image ")
|
||||
|
|
Loading…
Reference in New Issue
Block a user