This commit is contained in:
laodaming 2023-08-23 10:42:09 +08:00
parent d7ff6f24c2
commit 79b06c6c7d

View File

@ -118,7 +118,6 @@ func (w *wsConnectItem) consumeRenderCache(data []byte) {
w.sendToOutChan(w.respondDataFormat(constants.WEBSOCKET_ERR_DATA_FORMAT, "failed to get default logo"))
return
}
logx.Info("##########:", userMaterialDefault)
renderImageData.RenderData.Logo = *userMaterialDefault.ResourceUrl
} else {
renderImageData.RenderData.Logo = *userMaterial.ResourceUrl
@ -144,6 +143,7 @@ func (w *wsConnectItem) consumeRenderCache(data []byte) {
return
}
} else {
logx.Info("#############:", resource)
//返回给客户端
b := w.respondDataFormat(constants.WEBSOCKET_RENDER_IMAGE, websocket_data.RenderImageRspMsg{
RenderId: renderImageData.RenderId,