21 lines
379 B
Go
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)
|
||
|
|
||
|
}
|