unblock_ban_account.md 1.1 KB

部分玩家解封/封禁

请求地址

{API_URL}

请求参数

字段名称 类型 长度 必要 描述
itype string 4 7 = 解封单个玩家
authcode string 32 代理标识,由厂商配发
authkey string 32 代理秘钥,由厂商配发
account string 32 玩家账号
state int 4 0 = 是解封, -1 = 是封号

示例

  • URL:

    • {API_URL}
  • HTTP Method(请求方式):

    • POST
  • 表单数据:

    Content-Type: application/x-www-form-urlencoded

    itype: 7,
    authcode: test001,
    authkey: 123456,
    account: 0166306192
    state: 1    
    

返回结果

字段名称 类型 长度 说明
ret int 4 -1表示成功,非-1表示失败
info string 128 返回结果说明

返回格式

{
    "ret": -1,
    "info": "ok",
}