公开  
参数名称 类型 是否必填 参数描述 备注
api_key String 系统分配的ApiKey
api_target String 调用接口名称 com_cmall_familyhas_api_game_ApiForGameScoreList
api_input String 输入参数 应用输入参数的JSON格式
参数名称 类型 必填 示例 参数描述 备注
limit String 20 查询数量 这个数值取决于取前多少名,入参如果是50,则取前50名数据,可为空,如果为空,默认取前20名
gameCode String 游戏编号 传入游戏编号,获取游戏可玩次数
version int 版本号 仅用于扩展,无需传入
参数名称 类型 参数描述 备注
userScoreList ApiForGameScore[] 用户排行 参与游戏的用户得分列表
resultCode int 返回标记 如果返回标记1则为API调用成功 否则则是错误编号
myScore ApiForGameScore 我的排名以及分数 如果用户为登陆,或者未参与游戏,返回数据为空
resultMessage String 返回消息 返回的消息描述
ApiForGameScore
参数名称 类型 参数描述 备注
nickName String 昵称 用户昵称
score String 今日最高分 今日最高分数
Ranking String 排名 名次
avatar String 头像 用户头像