This commit is contained in:
laodaming 2023-08-09 10:15:22 +08:00
parent a50a183b74
commit a23983b57c

View File

@ -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",