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.
go-library/kashangwl/kashangwl_test.go

25 lines
377 B

package kashangwl
import (
_url "gopkg.in/dtapps/go-library.v2/kashangwl/url"
"log"
"testing"
)
func TestName(t *testing.T) {
3 years ago
wl := KaShangWl{
CustomerId: 0,
CustomerKey: "",
}
3 years ago
param := Parameter{
"order_id": 827669582783,
}
send, err := wl.Send(_url.Order, param)
3 years ago
log.Printf("send%s\n", send)
if err != nil {
3 years ago
t.Errorf("err%v\n", err)
return
}
}