京东商城
This commit is contained in:
@@ -2,6 +2,8 @@ package jdshopapi
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
)
|
||||
|
||||
func TestEnGet(t *testing.T) {
|
||||
@@ -11,3 +13,11 @@ func TestEnGet(t *testing.T) {
|
||||
}
|
||||
// t.Log(utils.Format4Output(result, false))
|
||||
}
|
||||
|
||||
func TestGetDeliveryCompany(t *testing.T) {
|
||||
result, err := api.GetDeliveryCompany()
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
t.Log(utils.Format4Output(result, false))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user