This commit is contained in:
suyl
2021-08-14 09:52:56 +08:00
parent ccc0af75ae
commit 389d29366d
6 changed files with 122 additions and 12 deletions

View File

@@ -70,7 +70,7 @@ func TestActivityUpdate(t *testing.T) {
}
func TestActivityGet(t *testing.T) {
activityInfo, err := api.ActivityGet(0, "", 0, 0)
activityInfo, err := api.ActivityGet(6000000380161091, "", 100000045925, 0)
if err != nil {
t.Fatal(err)
} else {
@@ -95,7 +95,16 @@ func TestActivitySkuList(t *testing.T) {
}
func TestActMultiChannelQueryIDs(t *testing.T) {
result, err := api.ActMultiChannelQueryIDs("", 200000066556, "2")
result, err := api.ActMultiChannelQueryIDs("", 100000045925, "2")
if err != nil {
t.Fatal(err)
}
t.Log(utils.Format4Output(result, false))
}
func TestActMultiChannelQueryInfos(t *testing.T) {
result, err := api.ActMultiChannelQueryInfos("6000000418366727", "", 100000045925)
if err != nil {
t.Fatal(err)
}