- Api文档说明
- 用户IP子账号管理
- 动态住宅流量子账号
- 静态住宅(非原生)时长子账号
- 静态住宅(原生)时长子账号
- 静态住宅(IPV6)时长 子账号
- 数据中心时长子账号
- 工具管理
- Token管理
- 用户管理
会员登陆
POST
/externalapi/user/login
请求参数
Body 参数application/x-www-form-urlencoded
account
string
必需
示例值:
test
password
string
密码
示例值:
test
示例代码
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://www.zhizhuip.cc/externalapi/user/login' \
--data-urlencode 'account=test' \
--data-urlencode 'password=test'
返回响应
🟢200成功
application/json
Body
code
integer
必需
msg
string
响应说明
type
integer
必需
data
object
必需
userinfo
object
用户信息
示例
{
"code": 1,
"msg": "登录成功",
"type": 1,
"data": {
"userinfo": {
"id": 321,
"username": "userxxxxx",
"nickname": "xiaoming",
"email": "email@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": "8888",
"score": 8888,
"extension_status": 2,
"verify_status": "1",
"owner_verify_status": "0",
"ref": "0",
"channel": "1",
"origin_money": "3293.23",
"give_money": "54.19",
"token": "ddwwwd-0cfc-4b0a-89df-e113cf11a252",
"user_id": 1,
"createtime": 1697527680,
"expiretime": 1700119680,
"expires_in": 2591999
}
}
}
修改于 2025-02-11 01:28:30