Merge branch 'develop' of gitee.com:fusenpack/fusenapi into develop

This commit is contained in:
Hiven
2023-08-07 12:02:22 +08:00
10 changed files with 44 additions and 20 deletions

View File

@@ -0,0 +1,6 @@
package mq_consumer_factory
// 消费mq消息要实现对应Run方法
type MqHandle interface {
Run(data []byte) error
}

View File

@@ -19,3 +19,9 @@ type ThirdPartyLoginRspMsg struct {
//websocket三方登录的通知数据
Token string `json:"token"`
}
// 发送到渲染组装的mq数据
type AssembleRenderData struct {
TaskId string `json:"task_id"`
RenderData interface{} `json:"render_data"`
}