文档
测试

9️⃣ 兑换会员√

POST
{{host}}/api/myinfo/Redeem

请求头

参数名
类型
描述
必填
token
string
标识号
必填

请求参数

application/json
参数名
类型
描述
必填
code
string
兑换码
必填

响应参数

application/json
参数名
类型
描述
必填
code
int
0失败、1成功、401未授权
必填
time
int
10位时间戳
必填
msg
string
消息内容
必填
data
json(object)
可能为空(null)
必填

说明 / 示例

{ "code":0, "time":1234567890, "msg":"失败", "data":null } { "code":1, "time":1234567890, "msg":"成功", "data":{ "text":"这是html文本内容" } } { "code":401, "time":1234567890, "msg":"未登录", "data":null }