登出 (action=logout)

退出登录,销毁当前会话。建议在程序退出时调用。

请求参数

参数名类型必填说明
actionstring固定值 logout
tokenstring登录令牌
machine_codestring建议机器码,用于验证一致性
timestampint时间戳

成功响应 (code=4)

仅返回code、msg和timestamp字段。

可能的错误码

错误码说明
4001登出参数错误
4002token无效

请求示例

action=logout&machine_code=ABC123×tamp=1700000000&token=eyJhbGciOiJIUzI1NiIs...