Get gamelist
Request mode (Host-> BeSoft) :post
Encoding method: application/x-www-form-urlencoded
The data format of the Besoft response is application/json
{besoftapi}/api/game/subgamelist
Form Data
extension1:testadmin
## Request parameters | Name | Type | Required | Description | | -------- | -------- | -------- | -------- | | extension1 | string | Y | Merchant account |
| Name | Type | Required | Description |
| -------- | -------- | -------- | -------- |
| gameicourl | string | Y | Request game entry icon address |
| gametype |string | Y | Game Type |
| gid| string(20) | Y | Unique id to enter the game |
### Successful Result
{
"gameicourl": "http://127.0.0.1:8000/gameicon",
"gamelist": [
{
"gid": "be001",
"name": "Dragon Stash",
"gametype": "1"
},
{
"gid": "be002",
"name": "Jungle Fruit",
"gametype": "1"
}
]
}
{
"ret": 1616,
"info": "ip address error"
}
Get icon:gameicourl+/+ gid+"_"+Language encoding+".png"
http://127.0.0.1:8000/gameicon/be001_en.png