This commit is contained in:
suyl
2021-05-07 16:42:53 +08:00
parent 1fcf1dbc40
commit 1588a2d6f8
5 changed files with 124 additions and 5 deletions

View File

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

View File

@@ -38,7 +38,7 @@ func TestResourceURLGen(t *testing.T) {
}
func TestGoodsPromotionURLGen(t *testing.T) {
result, err := api.GoodsPromotionURLGen("14501219_204919171", "Y9j2gIZ_GQ1KWDjRwfbZd9rMFl_x9NJ4_JQmOjnZyb5", false)
result, err := api.GoodsPromotionURLGen("14501219_204919171", "Y9n2oxrce6hKWDjRwfDZDbjMGeyz1JsC_J7fydjteU", false)
if err != nil {
t.Fatal(err)
}