pdd推广商品

This commit is contained in:
suyl
2021-04-28 09:23:24 +08:00
parent 37f2e6c041
commit e595d096a7
2 changed files with 36 additions and 8 deletions

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")
result, err := api.GoodsPromotionURLGen("14501219_204919171", "Y9j2gIZ_GQ1KWDjRwfbZd9rMFl_x9NJ4_JQmOjnZyb5", false)
if err != nil {
t.Fatal(err)
}