- 京东门店信息查询相关的三个API返回值改为具体的struct
This commit is contained in:
@@ -8,8 +8,8 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
mustExistSkuID = 2017194325
|
||||
mustExistSkuJXID = "21206"
|
||||
mustExistSkuID = 2023747677
|
||||
mustExistSkuJXID = "5246"
|
||||
)
|
||||
|
||||
func TestGetStationInfoList(t *testing.T) {
|
||||
@@ -17,9 +17,7 @@ func TestGetStationInfoList(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
for _, v := range result {
|
||||
baseapi.SugarLogger.Debug(v)
|
||||
}
|
||||
t.Log(utils.Format4Output(result, false))
|
||||
}
|
||||
|
||||
func TestQueryOpenUseable(t *testing.T) {
|
||||
@@ -32,9 +30,7 @@ func TestQueryOpenUseable(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
for _, v := range result {
|
||||
baseapi.SugarLogger.Debug(v)
|
||||
}
|
||||
t.Log(utils.Format4Output(result, false))
|
||||
}
|
||||
|
||||
func TestQueryStockCenter(t *testing.T) {
|
||||
@@ -46,9 +42,7 @@ func TestQueryStockCenter(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
for _, v := range result {
|
||||
baseapi.SugarLogger.Debug(v)
|
||||
}
|
||||
t.Log(utils.Format4Output(result, false))
|
||||
}
|
||||
|
||||
func TestBatchUpdateVendibility(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user