玩家上线下线上报


基本信息

参数 说明
接口URL POST /api/stat/ol
Content-Type application/json
认证方式 无需认证

上报URL

参数 说明
URL地址: http://api.example.com/prod

请求参数

Body 请求参数

[
    {
        "ip": "12.22.73.14",
        "timestamp": 1694587474,
        "gameId": 55,
        "gameCatalog": "游戏目录",
        "playerAccount": "abcd",
        "online": 0
    }
]

参数说明

参数名 参数值 是否必填 参数类型 描述说明
ip 12.22.73.14 是 String ip
timestamp 1694136631 是 Integer 时间
gameId 6 是 Integer 游戏id
gameCatalog 游戏目录 是 String 游戏目录
gameAccount abcd 是 String 游戏账号
online 1 是 Integer 上线下线标志