This commit is contained in:
邹宗楠
2023-11-20 09:36:43 +08:00
parent 7ed1aa66e9
commit 763580877a
8 changed files with 59 additions and 25 deletions

View File

@@ -1,6 +1,7 @@
package ebaiapi
import (
"fmt"
"testing"
"time"
@@ -103,11 +104,27 @@ func TestActMultiChannelQueryIDs(t *testing.T) {
}
//2233065924
//2233065928
//2233065934
//2233065955
//2233065956
func TestActMultiChannelQueryInfos(t *testing.T) {
result, err := api.ActMultiChannelQueryInfos("6000000418366727", "", 100000045925)
if err != nil {
t.Fatal(err)
for _, v1 := range []int64{2233065924} { // , 2233065928, 2233065934, 2233065955, 2233065956
acts, err := api.ActMultiChannelQueryIDs("", v1, "2")
fmt.Println(acts)
if err != nil {
fmt.Println(err)
}
for _, v := range acts {
_, err2 := api.ActMultiChannelQueryInfos(utils.Int64ToStr(v), "", v1)
if err2 != nil {
fmt.Println(err2)
}
//t.Log(utils.Format4Output(result, false))
}
}
t.Log(utils.Format4Output(result, false))
//_, err2 := api.ActMultiChannelQueryInfos("6000000927837760", "", 2233065924)
//fmt.Println(err2)
}