httplib_test.go 333 字节
package serviceGateway

import "testing"

func TestPushInfo(t *testing.T) {
	//测试消息推送
	c := NewHttplibMmmOpenApiServiceGateway()
	resp, err := c.PushInfo(0, "mmm.ability.performance", []int64{3422174102828544}, "ceshi推送一个消息233", "消息内容xxxx332")
	if err != nil {
		t.Error(err)
	}
	t.Logf("%v", resp)
}