fix
This commit is contained in:
parent
24dd57d57d
commit
9b1db4740d
|
@ -162,8 +162,8 @@ func (l *GetProductDetailLogic) GetProductDetail(req *types.GetProductDetailReq,
|
|||
//获取默认渲染的尺寸
|
||||
defaultSize, err := l.getRenderDefaultSize(req.ProductId, req.TemplateTag)
|
||||
if err != nil {
|
||||
logx.Error(err)
|
||||
return resp.SetStatusWithMessage(basic.CodeDbSqlErr, "failed to get default size")
|
||||
logx.Error("获取默认尺寸失败:", err.Error())
|
||||
//return resp.SetStatusWithMessage(basic.CodeDbSqlErr, "failed to get default size")
|
||||
}
|
||||
//整理返回
|
||||
rspSizeList := make([]types.SizeInfo, 0, len(sizeList))
|
||||
|
|
Loading…
Reference in New Issue
Block a user