change_password.md 1.1 KB

修改密码

请求地址

{API_URL}

请求参数

字段名称 类型 长度 必要 描述
itype string 21 16 = 商家修改类型标识
authcode string 32 代理标识,由厂商配发
authkey string 32 代理秘钥,由厂商配发
account string 128 玩家登录账号
pwdnew string 64 玩家新密码

示例

  • URL:

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

    • POST
  • 表单数据:

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

    itype: 16,
    authcode: test001,
    authkey: 123456,
    account: test123,
    pwdnew : 123123
    

返回结果

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

返回格式

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