游戏列表
描述
获取游戏列表
请求方式
| Item | Name | Sample |
|---|---|---|
| Path | Path | {Api_Address}/game/list |
| Request Method | GET |
请求参数
| Name | Type | Required | Description |
|---|---|---|---|
| Sign Params | Y | Api接入规范 |
返回参数
| Name | Type | Required | Description |
|---|---|---|---|
| code | int | Y | |
| msg | string | Y | 对应 code 的错误描述 |
| data | array | Y | Game Items |
Game Items
| Name | Type | Required | Description |
|---|---|---|---|
| id | int | Y | 游戏 Id |
| name | string | N | 游戏名称 |
| game_code | string | Y | 游戏索引 用于获取游戏数据 |
| category | string | Y | 游戏分类 |
| provider | string | Y | 游戏来源 |
| cover_url | string | Y | 游戏封面图 |
| status | int | Y | 游戏状态: 1=启用 2=不启用 |
| updated_at | int | Y | 更新时间 |
请求示例
Http Request
GET: Method
URL: /game/list?mid=1697028447&sign=8cbe70513fcb3a4e4d419463a05a31ea43e463ab14da433a8b02892271a9e4aa&ts=1713768205
Http Response(success)
{
"code": 0,
"msg": "",
"data": [
{
"id": 10000,
"name": "lucky_tanks",
"category": "mines",
"provider": "inhouse",
"cover_url": "https://static.1jogo.com/img/lucky_tanks@2x.png",
"status": 1,
"game_code": "gp_classic_4",
"updated_at": 1690374601
}
]
}