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)) }