diff --git a/service/repositories/image_handle.go b/service/repositories/image_handle.go index e58a3216..1abf7cfd 100644 --- a/service/repositories/image_handle.go +++ b/service/repositories/image_handle.go @@ -87,16 +87,15 @@ func (l *defaultImageHandle) LogoInfoSet(ctx context.Context, in *LogoInfoSetReq } var resultBLM constants.BLMServiceUrlResult - postMap := make(map[string]string, 2) + postMap := make(map[string]string, 3) 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{