消息服务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.

22 lines
421 B

  1. package msgrpc
  2. import (
  3. "testing"
  4. )
  5. func Test_SendMsg(t *testing.T) {
  6. site_id := "100064"
  7. dbname := "dev_tetele_net"
  8. business_id := "12"
  9. domainname := "http://dev6.tetele.net"
  10. msg_type := "order_create"
  11. data := map[string]string{"vv": "dd", "cc": "ss"}
  12. order_sn := ""
  13. memo := "testing"
  14. ret, err := SendMsg(site_id, dbname, business_id, domainname, msg_type, order_sn, memo, data)
  15. t.Log(ret)
  16. t.Log(err)
  17. }