得到账号信息
POST
/v1/account/info
请求参数
Header 参数
Authorization
string
认证 key
示例值:
Bearer {{token}}
Body 参数application/json
object {0}
示例
{}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.mindshow.vip/v1/account/info' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
info
string
错误信息
示例值:
succ
data
object
数据区
id
string
账号ID
示例值:
xxxxxxx
name
string
名称
示例值:
账号名称
score
integer
当前积分
示例值:
10000
created_at
string
账号创建时间
示例值:
2020-01-01T00:00:00+08:00
vip_type
string
必需
general:普通会员
month:月会员
season:季会员
year:年会员
示例值:
year
vip_expiration_time
string
会员到期时间
示例值:
2020-01-01T00:00:00+08:00
示例
{
"code": 0,
"info": "succ",
"data": {
"id": "xxxxxxx",
"name": "账号名称",
"score": 10000,
"created_at": "2020-01-01T00:00:00+08:00",
"vip_type": "year",
"vip_expiration_time": "2020-01-01T00:00:00+08:00"
}
}
修改于 2025-04-23 02:56:02