- mtwm.RetailGet与ebai.SkuList用struct替换map
This commit is contained in:
@@ -47,7 +47,15 @@ func TestRetailList(t *testing.T) {
|
||||
if len(result) == 0 {
|
||||
t.Fatal("should have items")
|
||||
}
|
||||
// t.Log(utils.Format4Output(result, false))
|
||||
t.Log(utils.Format4Output(result, false))
|
||||
}
|
||||
|
||||
func TestRetailGet(t *testing.T) {
|
||||
result, err := api.RetailGet(testPoiCode, "5246")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
t.Log(utils.Format4Output(result, false))
|
||||
}
|
||||
|
||||
func TestRetailGetSpTagIds(t *testing.T) {
|
||||
@@ -69,7 +77,7 @@ func TestRetailCatSkuBatchDelete(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestRetailDelete(t *testing.T) {
|
||||
err := api.RetailDelete(testPoiCode, "")
|
||||
err := api.RetailDelete(testPoiCode, "614")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user