介绍接入游戏大厅的流程
调用接口url:https://hall.stag-topgame.com
成功结果的参数解析
| 名称 | 类型 | 描述 |
| -------- | -------- | -------- |
| gameicourl | string | 请求游戏入口icon地址 |
| gameurl| string| 游戏跳转地址 |
| gamelist.name |string | 游戏名称 |
| gamelist.gid| string(20) | 进入游戏的唯一id |
| gamelist.gametype |string | 游戏类型 |
| gamelist.hot| int | 1 表示热门游戏标签, 0 则不是 |
| gamelist.new| int | 1 表示新游戏标签, 0 则不是 |
成功的结果
{
"gameicourl": "http://127.0.0.1:8000/gameicon",
"gamelist": [
{
"gid": "be001",
"name": "Dragon Stash",
"gametype": "1",
"hot": 1,
"new": 0
},
{
"gid": "be002",
"name": "Jungle Fruit",
"gametype": "1",
"hot": 1,
"new": 1
}
],
"gameurl": "https://game.stag-topgame.com"
}
调用接口url + 跳转参数
https://hall.stag-topgame.com/?tt=3F6AE577A2E2255EF4BACF02C9F8BB1154A9C6AD2F19701&lang=en
参数说明:
| 名称 | 类型 | 描述 |
| -------- | -------- | -------- |
| tt | string | 通过获取密钥接口( api/game/getKey )得到的key |
| lang | string | 要显示的语言 |