diff --git a/service/repositories/image_handle.go b/service/repositories/image_handle.go index 1abf7cfd..b7fb7bdc 100644 --- a/service/repositories/image_handle.go +++ b/service/repositories/image_handle.go @@ -222,7 +222,7 @@ func (l *defaultImageHandle) LogoCombine(ctx context.Context, in *LogoCombineReq moduleDataMap["groupOptions"] = groupOptions moduleDataMap["materialList"] = materialList - var combineParam map[string]interface{} + var combineParam = make(map[string]interface{}, 8) json.Unmarshal(*resLogoInfo.Metadata, &combineParam) combineParam["resolution"] = in.Resolution combineParam["template_tagid"] = in.TemplateTag