This commit is contained in:
laodaming 2023-08-16 10:58:34 +08:00
parent ac1800bb26
commit b11e768550

View File

@ -175,5 +175,12 @@ func (m *MqConsumerRenderAssemble) Run(ctx context.Context, data []byte) error {
return nil //不返回错误就删除消息
}
logx.Info("发送渲染组装数据到unity成功")
//模拟发送回去(unity部署后要去掉)
h := websocket_data.RenderImageNotify{
TaskId: parseInfo.TaskId,
Image: "https://fusenh5.kayue.cn:8011/storage/test/final_k8TgMUxauc_temp.png",
}
d, _ := json.Marshal(h)
_ = rabbitmq.SendMsg(constants.RABBIT_MQ_RENDER_RESULT_DATA, d)
return nil
}