获取数据中心时长子账号列表
GET
/externalapi/device/accountList获取静态住宅时长子账号列表
请求参数
Query 参数
access_token
string
必需
用户token。用户登录之后,获取token
示例值:
{{access_token}}
type
integer
必需
套餐类型:0=全球动态住宅,1=全球静态住宅,2=全球数据中心。此处固定为:2
示例值:
2
status
integer
必需
计费模式:0=按流量,1=按时长,2=按ip数。此处固定为:1
示例值:
1
page
integer
当前页数
示例值:
1
pagesize
integer
必需
每页显示数量。每页最大100条数据
示例值:
10
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
响应编码:1=正常,0=错误
msg
string
响应说明
time
string
必需
data
object
必需
total
integer
必需
rows
array [object {23}]
子账号列表
baseflow
integer
必需
基准流量。静态时长IP用不到
countryList
array [object {2}]
当前列表中的国家
示例
{
"code": 1,
"msg": "获取成功",
"time": "1697514828",
"data": {
"total": 17,
"rows": [
{
"id": "22",
"is_diff": 0,
"agree": "SOCKS5",
"country": "US",
"ip": "127.0.0.1",
"target": "demo.demo.com",
"port": 5001,
"username": "demo-22",
"password": "demo",
"is_bind": "否",
"remark": "",
"bindUser": "demo-22",
"bindPassword": "demo",
"countdown": "30.0天",
"expiresIn": 1723514861,
"createtime": "2023-10-17 11:25:28",
"state": "",
"city": "",
"bill": 0,
"countryName": "美国",
"status": 1,
"use_bill": "0.00",
"is_renew": "0"
}
],
"baseflow": 0,
"countryList": [
{
"country": "US",
"countryName": "美国"
},
{
"country": "SG",
"countryName": "新加坡"
},
{
"country": "RU",
"countryName": "俄罗斯"
},
{
"country": "DE",
"countryName": "德国"
},
{
"country": "FR",
"countryName": "法国"
}
]
}
}
修改于 13 天前