7
0
gaore-common-sdk-go/services/apk/client_test.go
2021-07-30 18:25:18 +08:00

21 lines
379 B
Go

package apk
import (
"fmt"
"testing"
"time"
)
func TestClient_GetUserInfo(t *testing.T) {
c := NewClient()
req := CreateRefreshApkRequest()
req.CdnUrlArray = []string{"https://download.abc086.com/lyzzflb_ylh_ez1/lyzzflb_ylh_ez1_490809.apk"}
req.SetReadTimeout(60 * time.Second)
resp, err := c.RefreshApkR(req)
fmt.Println(req)
fmt.Println(resp)
fmt.Println(err)
}