game_bet_list.md 2.4 KB

获得下注记录

描述

此函数允许运营商按"下注日期"获取"交易记录"。因此不会得到太多重复 的数据。每次 API 调用最多返回 2000 条记录 (时间递增排列)

请求地址

http://{besofthost}/api/game/getgameinfo

请求参数

| 名称 | 类型 | 必要 |描述| |:--------:|:-----:|:--------:|:--------:| | cert | string | Y |安全代码| | extension1 | string | Y |代理帐号| | user | String(600) | N |用逗号(,)分隔的一系列用户名。没有users则查询所有玩家| | st | Long | Y |设定开始时间,查询区间最大为 24 小时 (GMT+8), e.g. 1517265756000| | et | Long | Y |设定结束时间,查询区间最大为 24 小时e.g. 1517265756000| | page | integer | Y |资料页码, 从 0 开始| | pagesize | integer | Y |最大值2000|

返回结果

| 名称 | 类型 | 必要 | |:--------:|:-----:|:--------:| | status | string | 状态代码 | | totalsize | string | 记录数量 | | transactions | string | 交易数据数组 | | transactions.betid | string | 记录id | | transactions.uuid | string | 对局唯一id | | transactions. useraccount | string | 玩家账号 | | transactions.gamename | string | 游戏名称 | | transactions.tableid | string | 桌子id | | transactions.betscore | string | 下注分数 | | transactions.winscore | string | 赢分 | | transactions.userscore | string | 玩家当前分数 | | transactions.inserttime | int64 | 生成时间戳(毫秒) | | transactions.sptrevenue | string | 累积奖池下注值 |

## 成功的结果

{
    "status": 0,
    "totalsize": 2,
    "transactions": [
        {
            "betid": "kpsh7vw0osn0",
			"uuid": "66ebd03a6ba560b87c009835",
            "useraccount": "test1",
            "gamename": "Splash Hunter novice",
            "tableid": "0",
            "betscore": "0.17",
            "winscore": "0.02",
            "userscore": "999998.74",
            "inserttime": 1732500566495,
            "sptrevenue": "0.06"
        },{
            "betid": "oksjdhw0uh67",
			"uuid": "98ebd03a6baud87653hnbo98",
            "useraccount": "test1",
            "gamename": "Splash Hunter novice",
            "tableid": "0",
            "betscore": "0.02",
            "winscore": "0.01",
            "userscore": "999998.89",
            "inserttime": 1732500566495,
            "sptrevenue": "0.06"
        }
    ]
}

## 4.6.6 查无资料的结果

{
"status": 1003
}