Files
baseapi/platformapi/pddapi/sku_test.go
suyl b047a0dcd8 aa
2021-04-26 18:10:31 +08:00

23 lines
401 B
Go

package pddapi
import (
"git.rosy.net.cn/baseapi/utils"
"testing"
)
func TestGoodsCatsGet(t *testing.T) {
result, err := api.GoodsCatsGet(0)
if err != nil {
t.Fatal(err)
}
t.Log(utils.Format4Output(result, false))
}
func TestGoodsSearch(t *testing.T) {
result, err := api.GoodsSearch(0, nil, "", "", 1, 5, 0)
if err != nil {
t.Fatal(err)
}
t.Log(utils.Format4Output(result, false))
}