diff --git a/server/product-templatev2/internal/logic/updatetemplatelogic.go b/server/product-templatev2/internal/logic/updatetemplatelogic.go index b7951e60..fd1e27ab 100644 --- a/server/product-templatev2/internal/logic/updatetemplatelogic.go +++ b/server/product-templatev2/internal/logic/updatetemplatelogic.go @@ -76,6 +76,7 @@ func (l *UpdateTemplateLogic) UpdateTemplate(req *types.UpdateTemplateReq, r *ht if v["tag"] == "Logo" { logoWidth, _ = v["width"].(json.Number).Int64() logoHeight, _ = v["height"].(json.Number).Int64() + break } } isPublic := int64(0)