fix
This commit is contained in:
parent
48e1093469
commit
956b18a72e
@ -1,12 +1,14 @@
|
|||||||
package consumer
|
package consumer
|
||||||
|
|
||||||
import "fmt"
|
import (
|
||||||
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
)
|
||||||
|
|
||||||
// 消费渲染需要组装的数据
|
// 消费渲染需要组装的数据
|
||||||
type MqConsumerRenderAssemble struct {
|
type MqConsumerRenderAssemble struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *MqConsumerRenderAssemble) Run(data []byte) error {
|
func (m *MqConsumerRenderAssemble) Run(data []byte) error {
|
||||||
fmt.Println("收到需要组装的消息:" + string(data))
|
logx.Info("收到需要组装的消息:", string(data))
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user