package mastermsg import ( "testing" ) func Test_SendEventMsg(t *testing.T) { site_id := "1000064" domainname := "http://dev.tetele.net" _type := "warning" memo := "余额不足" data := map[string]string{"title": "sss顶替"} res, err := SendEventMsg(site_id, domainname, _type, memo, data) t.Log(res) t.Log(err) }