Combo Game 接口
接口约定
用商户主动发起对 Combo Game 提供的接口进行访问
通用参数格式
请求格式
接口域名 COMBO_GAME_API_HOST 请联系商务获取
请求方式: POST
编码格式: Content-Type: application/json;charset=UTF-8
| 通用参数 | 类型 | 说明 |
|---|---|---|
| appId | int | 商户 App ID |
| ts | long | 当前时间戳毫秒,允许不超过 60 秒时差 |
| sign | string | MD5小写字符串 |
{
"appId": 12345678,
"ts": 1750151429551,
"sign": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}返回格式
编码格式: Content-Type: application/json;charset=UTF-8
| 字段 | 含义 | 说明 |
|---|---|---|
| code | 错误码 | 详见错误码页 |
| msg | 错误信息 | 成功时为 OK |
| data | 数据 Object | 不同接口结构可能不一样 |
{
"code": 0,
"msg": "OK",
"data": {
"list": [
{
"id": 1001,
"name": "Greedy Box",
"icon": "https://xxx.com/xxx.png",
"type": 1,
"screenOrientation": 0,
"safeWidth": 750,
"safeHeight": 750,
"url": "https://xxx.com/xxx/index.html",
"zipUrl": "https://xxx.com/xxx/xxx.zip",
"version": "1.0.9",
"enabled": true
}
]
}
}