From 905300ec47b7415a4aa0df32e986cb0b5a088a55 Mon Sep 17 00:00:00 2001 From: momo <1012651275@qq.com> Date: Fri, 27 Oct 2023 17:15:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E8=AE=A2=E5=8D=95=E6=A8=A1=E5=9D=97?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=95=B0=E5=AD=97=E9=87=91=E9=A2=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/repositories/image_handle.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/service/repositories/image_handle.go b/service/repositories/image_handle.go index d14e6e0f..fd1ffc5c 100644 --- a/service/repositories/image_handle.go +++ b/service/repositories/image_handle.go @@ -90,12 +90,13 @@ func (l *defaultImageHandle) LogoInfoSet(ctx context.Context, in *LogoInfoSetReq postMap := make(map[string]string, 2) postMap["logo_url"] = in.LogoUrl postMap["version"] = in.Version + postMap["is_all_template"] = "0" - if in.Debug != nil && in.Debug.IsAllTemplateTag == 1 { - postMap["is_all_template"] = "1" - } else { - postMap["is_all_template"] = "0" - } + // if in.Debug != nil && in.Debug.IsAllTemplateTag == 1 { + // postMap["is_all_template"] = "1" + // } else { + // postMap["is_all_template"] = "0" + // } logc.Infof(ctx, "算法请求--LOGO基础信息--开始时间:%v", time.Now().UTC()) err := curl.NewClient(ctx, &curl.Config{