diff --git a/server/render/consumer/assemble_render_data.go b/server/render/consumer/assemble_render_data.go index be5208a2..20291803 100644 --- a/server/render/consumer/assemble_render_data.go +++ b/server/render/consumer/assemble_render_data.go @@ -175,7 +175,7 @@ func (m *MqConsumerRenderAssemble) Run(ctx context.Context, data []byte) error { if index, ok := mapImageData[templateInfo.Id]; ok { baseImage = constants.H5_URL + "/storage" + rspInfo.Data[index].Imgurl } - tempData := []map[string]interface{}{} + tempData := make([]map[string]interface{}, 0, 3) if element.Base != nil && *element.Base != "" { tempData = append(tempData, map[string]interface{}{ "name": "model",