22 lines
338 B
Go
22 lines
338 B
Go
package apk
|
|
|
|
import (
|
|
"fmt"
|
|
"testing"
|
|
"time"
|
|
)
|
|
|
|
func TestClient_GetUserInfo(t *testing.T) {
|
|
c := NewClient()
|
|
req := CreateSearchApkRequest()
|
|
req.GameIds = "3503"
|
|
req.Ver = "1.0.0"
|
|
req.SetReadTimeout(60 * time.Second)
|
|
resp, err := c.SearchApk(req)
|
|
|
|
fmt.Println(req)
|
|
fmt.Println(resp.GetHttpContentString())
|
|
fmt.Println(err)
|
|
|
|
}
|