- page funcs PageGetSkuList, PageGetCustomSkuList and PageGetCustomCatList for ebai added.

This commit is contained in:
gazebo
2019-03-19 10:15:20 +08:00
parent 6864f6342f
commit 6e9615ca05
2 changed files with 83 additions and 0 deletions

View File

@@ -51,3 +51,33 @@ func TestGetEleCommentList(t *testing.T) {
baseapi.SugarLogger.Debug(len(commentList))
}
}
func TestPageGetSkuList(t *testing.T) {
skuList, err := api.PageGetSkuList(2233065941)
if err != nil {
t.Fatal(err)
}
if true {
baseapi.SugarLogger.Debug(utils.Format4Output(skuList, false))
}
}
func TestPageGetCustomSkuList(t *testing.T) {
skuList, err := api.PageGetCustomSkuList(2267121521, 1552729500062)
if err != nil {
t.Fatal(err)
}
if true {
baseapi.SugarLogger.Debug(utils.Format4Output(skuList, false))
}
}
func TestPageGetCustomCatList(t *testing.T) {
catList, err := api.PageGetCustomCatList(2233065941)
if err != nil {
t.Fatal(err)
}
if true {
baseapi.SugarLogger.Debug(utils.Format4Output(catList, false))
}
}