7
0

test typing...

This commit is contained in:
liangzy 2021-07-30 10:53:31 +08:00
parent 825dac2a54
commit d69e9389c3

View File

@ -2,6 +2,7 @@ package www
import ( import (
"fmt" "fmt"
"log"
"testing" "testing"
) )
@ -15,7 +16,10 @@ func TestClient_GetUserInfo(t *testing.T) {
req := CreateGetPwdRequest() req := CreateGetPwdRequest()
req.UserName = "ttom666" req.UserName = "ttom666"
resp, _ := c.GetUserInfo(req) resp, err := c.GetUserInfo(req)
if err != nil {
log.Fatalln(err)
}
fmt.Println(resp.GetHttpContentString()) fmt.Println(resp.GetHttpContentString())
fmt.Println(resp.GetHttpHeaders()) fmt.Println(resp.GetHttpHeaders())
} }