This commit is contained in:
suyl
2021-04-27 11:38:48 +08:00
parent 0106f92c96
commit 5cefb7e751
2 changed files with 84 additions and 4 deletions

View File

@@ -14,7 +14,11 @@ func TestGoodsCatsGet(t *testing.T) {
}
func TestGoodsSearch(t *testing.T) {
result, err := api.GoodsSearch(0, nil, "", "", 1, 5, 0)
result, err := api.GoodsSearch(&GoodsSearchParam{
ActivityTags: []int{10564},
Page: 1,
PageSize: 10,
})
if err != nil {
t.Fatal(err)
}