- page funcs PageGetSkuList, PageGetCustomSkuList and PageGetCustomCatList for ebai added.
This commit is contained in:
@@ -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))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user