httplib_test.go 373 字节
package serviceGateway

import "testing"

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