Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9c93f863b5 |
@ -51,7 +51,7 @@ func TestGetUserRoleList2(t *testing.T) {
|
||||
req := CreateGetUserRoleListRequest2(GetUserRoleListParam{
|
||||
Uid: 0,
|
||||
Username: "rz35990497",
|
||||
GameId: 7874,
|
||||
GameIds: "7866,7873,7874,7875,7934",
|
||||
RoleId: 0,
|
||||
RoleServer: "",
|
||||
})
|
||||
|
||||
@ -107,6 +107,7 @@ type GetUserRoleListParam struct {
|
||||
GameId int
|
||||
RoleId int
|
||||
RoleServer string
|
||||
GameIds string
|
||||
}
|
||||
|
||||
// GetSign 封装一个方法,获取当天时间戳和api签名
|
||||
@ -133,6 +134,7 @@ func CreateGetUserRoleListRequest2(param GetUserRoleListParam) (req *GetUserRole
|
||||
"method": "get",
|
||||
"uid": fmt.Sprintf("%d", param.Uid),
|
||||
"game_id": fmt.Sprintf("%d", param.GameId),
|
||||
"game_ids": fmt.Sprintf("%v", param.GameIds),
|
||||
"role_id": fmt.Sprintf("%d", param.RoleId),
|
||||
"role_server": param.RoleServer,
|
||||
"username": param.Username,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user