|
|
- package msgrpc
-
- import (
- "testing"
- )
-
- func Test_SendMsg(t *testing.T) {
-
- site_id := "100064"
- dbname := "dev_tetele_net"
- business_id := "12"
- domainname := "http://dev6.tetele.net"
- msg_type := "order_create"
- data := map[string]string{"vv": "dd", "cc": "ss"}
- order_sn := ""
- memo := "testing"
-
- ret, err := SendMsg(site_id, dbname, business_id, domainname, msg_type, order_sn, memo, data)
-
- t.Log(ret)
- t.Log(err)
- }
|