This commit is contained in:
laodaming 2023-09-06 12:00:36 +08:00
parent 4895c4c417
commit 1b92bb12ea

View File

@ -270,6 +270,9 @@ func (w *wsConnectItem) getProductRelateionInfo(renderImageData websocket_data.R
logx.Error("failed to get template info:", err)
return
}
if productTemplate.TemplateInfo == nil || *productTemplate.TemplateInfo == "" {
w.renderErrResponse(renderImageData.RenderId, renderImageData.RenderData.TemplateTag, "", "渲染模板的json设计信息是空的", renderImageData.RenderData.ProductId, w.userId, w.guestId, productTemplate.Id, model3d.Id, productSize.Id, 0)
}
return
}