Appearance
注单接口文档
💡 接口使用建议
- 注单是以游戏派奖时间为准;拉取当前时间 10 分钟之前数据;建议拉取区间为 1-5 分钟,最大不能超过 90 分钟。我方注单每两分钟更新一次,建议每隔至少两分钟拉取一次,因为两分钟内多次拉取的注单也是重复注单。并强制限制至少每隔 10 秒才能拉取一次注单。
- 响应中的资料时间均采用 UTC+8 时区。
🔐 认证与加密
所有接口都需要进行认证与加密,详细的加密方式请参考:认证授权指南
📋 接口列表
拉取注单 (s:16)
此功能用于拉取游戏注单记录,并提供两种响应格式因应不同开发需求。
1. 响应 d.list 为 栏位导向 (Column-oriented) 的物件
- 端点:
{host}/getRecordHandle - HTTP 方法:
GET
param 参数结构
| 参数名 | 类型 | 必填 | 描述 |
|---|---|---|---|
| s | Integer | ✅ | 操作子类型 (固定为 16) |
| startTime | Integer | ✅ | 查询起始时间戳 Unix timestamp in milliseconds |
| endTime | Integer | ✅ | 查询结束时间戳 Unix timestamp in milliseconds |
响应参数说明
| 参数名 | 类型 | 描述 |
|---|---|---|
| s | Integer | 服务标识 (116=拉取注单接口) |
| m | String | 接口路径 |
| d | Object | 数据对象 |
| d.code | Integer | 响应码 |
| d.start | Integer | 查询起始时间 |
| d.end | Integer | 查询结束时间 |
| d.count | Integer | 回传资料笔数 |
| d.list | Object | 数据列表 (Column-oriented) |
| d.list.GameID | Array<String> | 游戏局号(小局号) |
| d.list.Accounts | Array<String> | 玩家账号 |
| d.list.ServerID | Array<String> | 游戏局号(大局号) |
| d.list.KindID | Array<Int> | 游戏代号(参考游戏列表) |
| d.list.TableID | Array<Int> | 桌号 |
| d.list.ChairID | Array<Int> | 座位号 |
| d.list.UserCount | Array<Int> | 同房所在玩家数 |
| d.list.CellScore | Array<String> | 有效投注额 |
| d.list.AllBet | Array<String> | 总成本 (总投注额 + 门票) |
| d.list.TicketFee | Array<String> | 门票 |
| d.list.Profit | Array<String> | 总盈利 (输赢金额 - 门票) |
| d.list.Revenue | Array<String> | 抽水金额 |
| d.list.GameStartTime | Array<String> | 游戏开始时间 |
| d.list.GameEndTime | Array<String> | 游戏结束时间 |
| d.list.CardValue | Array<String> | 牌局原始资料 |
| d.list.ChannelID | Array<Int> | 代理商编号 |
| d.list.Currency | Array<String> | 币别 |
| d.list.Language | Array<String> | 游戏语系列表 |
| d.list.RecordId | Array<Int> | Record ID |
| d.list.CurScore | Array<String> | 初始分数 |
| d.list.CreateTime | Array<String> | 注单创建时间 |
响应示例
json
{
"s": 116,
"m": "/getRecordHandle",
"d": {
"code": 0,
"start": 1760493600000,
"end": 1760497200000,
"count": 2,
"list": {
"GameID": [
"50-1760495753-4400040-2916598-6-1",
"50-1760495753-4400040-2916598-2-2"
],
"ServerID": ["2916598", "2916598"],
"KindID": [220, 220],
"TableID": [4400040, 4400040],
"ChairID": [6, 2],
"UserCount": [2, 2],
"CellScore": ["20", "10"],
"TicketFee": ["0", "0"],
"AllBet": ["20", "10"],
"Profit": ["10", "-10"],
"Revenue": ["0", "0"],
"GameStartTime": ["2025-10-15 10:35:53", "2025-10-15 10:35:53"],
"GameEndTime": ["2025-10-15 10:35:59", "2025-10-15 10:35:59"],
"CardValue": [
"0000001825240000000000000000002a16226",
"0000001825240000000000000000002a16226"
],
"ChannelID": [41, 41],
"RecordId": [3053157, 3053156],
"CurScore": ["1000000", "1000000"],
"Currency": ["CNY", "CNY"],
"CreateTime": ["2025-10-15 10:35:59", "2025-10-15 10:35:59"],
"Accounts": ["sh1015P001", "sh1015P002"],
"Language": ["zh_cn", "zh_cn"]
}
}
}2. 响应 d.list 为 注单导向 (Row-oriented) 的物件阵列 (List 格式)
- 端点:
{host}/getRecordHandle/recordWithList - HTTP 方法:
GET
param 参数结构
| 参数名 | 类型 | 必填 | 描述 |
|---|---|---|---|
| s | Integer | ✅ | 操作子类型 (固定为 16) |
| startTime | Integer | ✅ | 查询起始时间戳 Unix timestamp in milliseconds |
| endTime | Integer | ✅ | 查询结束时间戳 Unix timestamp in milliseconds |
响应参数说明
| 参数名 | 类型 | 描述 |
|---|---|---|
| s | Integer | 服务标识 (116=拉取注单接口) |
| m | String | 接口路径 |
| d | Object | 数据对象 |
| d.code | Integer | 响应码 |
| d.start | Integer | 查询起始时间 |
| d.end | Integer | 查询结束时间 |
| d.count | Integer | 回传资料笔数 |
| d.list | Array<Object> | 数据列表 (Row-oriented) |
| d.list[].GameID | String | 游戏局号(小局号) |
| d.list[].Accounts | String | 玩家账号 |
| d.list[].ServerID | String | 游戏局号(大局号) |
| d.list[].KindID | Int | 游戏代号(参考游戏列表) |
| d.list[].TableID | Int | 桌号 |
| d.list[].ChairID | Int | 座位号 |
| d.list[].UserCount | Int | 同房所在玩家数 |
| d.list[].CellScore | String | 有效投注额 |
| d.list[].AllBet | String | 总成本 (总投注额 + 门票) |
| d.list[].TicketFee | String | 门票 |
| d.list[].Profit | String | 总盈利 (输赢金额 - 门票) |
| d.list[].Revenue | String | 抽水金额 |
| d.list[].GameStartTime | String | 游戏开始时间 |
| d.list[].GameEndTime | String | 游戏结束时间 |
| d.list[].CardValue | String | 牌局原始资料 |
| d.list[].ChannelID | Int | 代理商编号 |
| d.list[].Currency | String | 币别 |
| d.list[].Language | String | 游戏语系列表 |
| d.list[].RecordId | Int | Record ID |
| d.list[].CurScore | String | 初始分数 |
| d.list[].CreateTime | String | 注单创建时间 |
响应示例
json
{
"s": 116,
"m": "/getRecordHandle/recordWithList",
"d": {
"code": 0,
"start": 1760493600000,
"end": 1760497200000,
"count": 2,
"list": [
{
"GameID": "50-1760495753-4400040-2916598-6-1",
"ServerID": "2916598",
"KindID": 220,
"TableID": 4400040,
"ChairID": 6,
"UserCount": 2,
"CellScore": "20",
"TicketFee": "0",
"AllBet": "20",
"Profit": "10",
"Revenue": "0",
"GameStartTime": "2025-10-15 10:35:53",
"GameEndTime": "2025-10-15 10:35:59",
"CardValue": "0000001825240000000000000000002a16226",
"ChannelID": 41,
"RecordId": 3053157,
"CurScore": "1000000",
"Currency": "CNY",
"CreateTime": "2025-10-15 10:35:59",
"Accounts": "sh1015P001",
"Language": "zh_cn"
},
{
"GameID": "50-1760495753-4400040-2916598-2-2",
"ServerID": "2916598",
"KindID": 220,
"TableID": 4400040,
"ChairID": 2,
"UserCount": 2,
"CellScore": "10",
"TicketFee": "0",
"AllBet": "10",
"Profit": "-10",
"Revenue": "0",
"GameStartTime": "2025-10-15 10:35:53",
"GameEndTime": "2025-10-15 10:35:59",
"CardValue": "0000001825240000000000000000002a16226",
"ChannelID": 41,
"RecordId": 3053156,
"CurScore": "1000000",
"Currency": "CNY",
"CreateTime": "2025-10-15 10:35:59",
"Accounts": "sh1015P002",
"Language": "zh_cn"
}
]
}
}对局日志解析(URL)接口 (s:19)
此接口用于获取单个牌局的日志链接。
- 端点:
{host}/getRecordHandle - HTTP 方法:
GET
NOTE
使用 getRecordHandle 端点,并指定 s=19。
param 参数结构
| 参数名 | 类型 | 必填 | 描述 |
|---|---|---|---|
| s | Integer | ✅ | 操作子类型 (固定为 19) |
| id | Integer | ✅ | 原始记录 ID (同注单响应数据之 RecordId) |
| gameuserno | String | ✅ | 游戏小局号(同注单响应数据之 GameID) |
| Lang | String | ❌ | 语系( 0 为中文(预设),1 为英文) |
响应参数说明
| 参数名 | 类型 | 描述 |
|---|---|---|
| s | Integer | 服务标识 (119=对局日志解析(URL)接口) |
| m | String | 接口路径 |
| d | Object | 数据对象 |
| d.code | Integer | 响应码 |
| d.gameLogURL | String | 内嵌用链结 |
响应示例
json
{
"s": 119,
"m": "/getRecordHandle",
"d": {
"code": 0,
"gameLogURL": "{consoleHost}/#/gameLog?agent=41param=TP9WILUnSmzwKO0R5lhphO%2BnT54o1%2FEcAt3lOlkfKx2Ci7w0DFf0hluqtH2QJexCc17qAUmZb299IYx3m6swIA%3D%3D"
}
}📌 代码说明
📘 响应码说明
同游戏接口文档的响应码说明
