Files
servicebase/pkg/partner/mq/rocket_test.go
2025-11-18 17:48:20 +08:00

26 lines
485 B
Go

package mq
import (
"servicebase/pkg/common"
"servicebase/pkg/partner/mq/message"
"testing"
"time"
"github.com/anxpp/beego"
)
func TestRocket(t *testing.T) {
e := client.PushRegisterMessage(message.RegisterMessage{
Message: message.Message{
MessageId: "001",
},
Platform: "android",
UserId: "001",
DeviceId: "001",
RegisterTime: beego.Date(time.Now(), common.TimeDefaultFormat),
ChannelCode: "001",
Ip: "0.0.0.0",
})
println(e)
}