fix
This commit is contained in:
parent
ac1800bb26
commit
b11e768550
|
@ -175,5 +175,12 @@ func (m *MqConsumerRenderAssemble) Run(ctx context.Context, data []byte) error {
|
||||||
return nil //不返回错误就删除消息
|
return nil //不返回错误就删除消息
|
||||||
}
|
}
|
||||||
logx.Info("发送渲染组装数据到unity成功")
|
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
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user