京东商城

This commit is contained in:
苏尹岚
2020-06-04 09:58:20 +08:00
parent a71f902289
commit 6a4077f441
7 changed files with 47 additions and 18 deletions

View File

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