rpc
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
329 B

3 years ago
  1. package mastermsg
  2. import (
  3. "testing"
  4. )
  5. func Test_SendEventMsg(t *testing.T) {
  6. site_id := "1000064"
  7. domainname := "http://dev.tetele.net"
  8. _type := "warning"
  9. memo := "余额不足"
  10. data := map[string]string{"title": "sss顶替"}
  11. res, err := SendEventMsg(site_id, domainname, _type, memo, data)
  12. t.Log(res)
  13. t.Log(err)
  14. }