添加一个账号
测试中POST
/v1/accounts_pool请求参数
Body 参数application/json
accountTypeId
string
必需
account
string
必需
email
string
必需
password
string
必需
cookie
string
必需
accountStatus
string
账号状态
ENABLE-启用;DISABLE-禁用
示例值:
ENABLEDISABLE
示例
{
"accountTypeId": "1",
"account": "zhangsan",
"email": "zhangsan@qq.com",
"password": "zhangsan@qq.com",
"cookie": "",
"account_status": 1
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
msg
string
必需
data
object
必需
id
string
必需
serviceId
string
必需
accountTypeId
integer
必需
account
string
必需
email
string
必需
password
string
必需
cookie
string
必需
cookieStatus
string
必需
/**
- 空闲
*/
IDLE,
/**
- 使用中
*/
USING,
/**
- 限制
*/
LIMITED,
/**
- 不可用
*/
DISABLE,
/**
- 未知
*/
UNKNOWN
createAt
string
必需
updateAt
string
必需
deleteFlag
boolean
必需
示例
{
"code": 0,
"msg": "",
"data": {
"id": "6",
"serviceId": "qm5ynbclhmcrgpgo0",
"accountTypeId": 1,
"account": "zhangsna",
"email": "zhangsna@qq.com",
"password": "zhangsna@qq.com",
"cookie": "_c_WBKFRo=s3dIaoNVn4Trc0FvvPUxRhPKPZhgOtkpiFCLRq65;_ga=GA1.1.1508536863.1726416119",
"accountStatus": "DISABLE",
"cookieStatus": "IDLE",
"createAt": "2024-11-01 10:19:29",
"updateAt": "2024-11-01 10:19:29",
"deleteFlag": false
}
}
最后修改时间: 3 个月前