From 305bf83d4e6b900a6aadaaafc896dc5474c71ad6 Mon Sep 17 00:00:00 2001 From: laodaming <11058467+laudamine@user.noreply.gitee.com> Date: Sun, 25 Jun 2023 12:28:06 +0800 Subject: [PATCH] fix --- server/product-templatev2/internal/logic/updatetemplatelogic.go | 1 + 1 file changed, 1 insertion(+) 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)