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

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)
}