This commit is contained in:
suyl
2021-04-27 18:05:48 +08:00
parent c7593607f4
commit 37f2e6c041
2 changed files with 44 additions and 0 deletions

View File

@@ -36,3 +36,19 @@ func TestResourceURLGen(t *testing.T) {
}
t.Log(utils.Format4Output(result, false))
}
func TestGoodsPromotionURLGen(t *testing.T) {
result, err := api.GoodsPromotionURLGen("14501219_204919171", "Y9j2gIZ_GQ1KWDjRwfbZd9rMFl_x9NJ4_JQmOjnZyb5")
if err != nil {
t.Fatal(err)
}
t.Log(utils.Format4Output(result, false))
}
func TestMemberAuthorityQuery(t *testing.T) {
result, err := api.MemberAuthorityQuery("14501219_204919171")
if err != nil {
t.Fatal(err)
}
t.Log(utils.Format4Output(result, false))
}