Compare commits
No commits in common. "49c41fb60b9f6e552d90a98bdeb876a80f38ea0b" and "45e449df11ad8c0842ec11b247ddadb2991ef9f6" have entirely different histories.
49c41fb60b
...
45e449df11
@ -3,7 +3,6 @@ package stat
|
||||
import (
|
||||
"golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk"
|
||||
"golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/requests"
|
||||
"time"
|
||||
)
|
||||
|
||||
const (
|
||||
@ -54,10 +53,6 @@ func (c *Client) GetAgentList(req *GetAgentListReq) (resp *GetAgentListResp, err
|
||||
// GetUserRoleRegPage 获取用户角色注册分页列表
|
||||
func (c *Client) GetUserRoleRegPage(req *UserRoleRegReq) (resp *UserRoleRegResp, err error) {
|
||||
resp = CreateUserRoleRegPageResp()
|
||||
// 设置超时时间
|
||||
req.SetConnectTimeout(10 * time.Second)
|
||||
// 设置读取超时时间
|
||||
req.SetReadTimeout(20 * time.Second)
|
||||
err = c.DoAction(req, resp)
|
||||
if err != nil {
|
||||
return
|
||||
|
@ -88,8 +88,8 @@ func TestClient_GetUserRoleRegPage(t *testing.T) {
|
||||
req := CreateUserRoleRegPageReq(UserRoleRegParam{
|
||||
Page: 1,
|
||||
PageSize: 10,
|
||||
RoleId: "",
|
||||
RoleName: "温文波箐魔灵",
|
||||
RoleId: "-1",
|
||||
RoleName: "",
|
||||
})
|
||||
|
||||
resp, err := client.GetUserRoleRegPage(req)
|
||||
|
Loading…
Reference in New Issue
Block a user