- Api文档说明
- 用户IP子账号管理
- 动态住宅流量子账号
- 静态住宅(非原生)时长子账号
- 静态住宅(原生)时长子账号
- 静态 住宅(IPV6)时长子账号
- 数据中心时长子账号
- 工具管理
- Token管理
- 用户管理
获取用户信息
GET
/externalapi/user/getGetUserInfo
请求参数
Query 参数
access_token
string
必需
示例值:
{{access_token}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://www.zhizhuip.cc/externalapi/user/getGetUserInfo?access_token='
返回响应
🟢200成功
application/json
Body
code
integer
必需
msg
string
响应说明
time
string
必需
data
object
必需
id
integer
必需
username
string
用户名
nickname
string
昵称
email
string
用户邮箱
mobile
string
手机号
email_verify
integer
必需
mobile_verify
integer
必需
avatar
string
头像
duties
null
必需
gender
integer
必需
purpose
null
必需
money
string
账户余额
score
integer
账户积分
extension_status
integer
必需
verify_status
string
必需
owner_verify_status
string
必需
ref
string
推广链接
channel
string
必需
origin_money
string
必需
give_money
string
必需
token
string
登录token
示例
{
"code": 1,
"msg": "获取成功",
"time": "1697528176",
"data": {
"id": 1,
"username": "userxxxx",
"nickname": "demo_name",
"email": "demo_name@qq.com",
"mobile": "",
"email_verify": 1,
"mobile_verify": 0,
"avatar": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgaGVpZ2h0PSIxMDAiIHdpZHRoPSIxMDAiPjxyZWN0IGZpbGw9InJnYigxNjEsMTYwLDIyOSkiIHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIj48L3JlY3Q+PHRleHQgeD0iNTAiIHk9IjUwIiBmb250LXNpemU9IjUwIiB0ZXh0LWNvcHk9ImZhc3QiIGZpbGw9IiNmZmZmZmYiIHRleHQtYW5jaG9yPSJtaWRkbGUiIHRleHQtcmlnaHRzPSJhZG1pbiIgZG9taW5hbnQtYmFzZWxpbmU9ImNlbnRyYWwiPjc8L3RleHQ+PC9zdmc+",
"duties": null,
"gender": 0,
"purpose": null,
"money": "3347.42",
"score": 2195,
"extension_status": 2,
"verify_status": "1",
"owner_verify_status": "0",
"ref": "https://ceshi.zhizhuip.vip",
"channel": "1",
"origin_money": "3293.23",
"give_money": "54.19",
"token": "3646c38e-82fd-4dc8-8815-b662229b83ac",
"user_id": 1,
"createtime": 1697512606,
"expiretime": 1700104606,
"expires_in": 2576430,
"ref_status": "渠道推广"
}
}
修改于 2023-10-17 07:36:27