文档
测试

获取所有线路列表

GET
http://{{flygo-local-test}}/ego/vpn-bss/region-configs/admin/1/10?size=1

请求头

参数名
类型
描述
必填
Account
string
示例:admin
必填
Password
string
示例:ego-123456a?
必填

请求参数

参数名
类型
描述
必填
size
1
要根据用户的node_size去传,如果是1,就传1,如果是2就传2.如果是3,就传3
必填

响应参数

参数名
类型
描述
必填
code
string
示例:200
必填
message
object
示例:null
必填
success
boolean
示例:true
必填
data
object
数据字典
必填
data
array
数据列表
必填
id
string
示例:1999 线路id
必填
country
string
示例:美国 国家
必填
location
string
示例:线路一 线路
必填
parentId
string
示例:1999
必填
groupId
string
示例:1998
必填
createdTime
string
示例:2021-06-22 18:20:47
必填
updatedTime
string
示例:2021-06-22 18:20:47
必填
totalCount
int
示例:25
必填
totalPages
int
示例:3
必填
pageSize
int
示例:10
必填
pageNo
int
示例:1
必填

说明 / 示例

http://{{flygo-local-test}}/ego/vpn-bss/region-configs/admin/1/10?size=1 路径中的1和10分别是分页页码和数量 这个接口需要根据用户的Node_size去传,,如果是1,就传1,如果是2就传2.如果是3,就传3。 { "code": "200", "message": null, "success": true, "data": { "data": [ { "id": "1999", "country": "美国", "location": "线路", "parentId": "1999", "groupId": "1998", "createdTime": "2021-06-22 18:20:47", "updatedTime": "2021-06-22 18:20:47" }, { "id": "1041", "country": "美国", "location": "线路1", "parentId": "1999", "groupId": "1041", "createdTime": "2021-06-22 18:20:47", "updatedTime": "2021-06-22 18:20:47" }, { "id": "1042", "country": "美国", "location": "线路2", "parentId": "1999", "groupId": "1042", "createdTime": "2021-06-22 18:20:47", "updatedTime": "2021-06-22 18:20:47" }, { "id": "1043", "country": "美国", "location": "线路3", "parentId": "1999", "groupId": "1043", "createdTime": "2021-06-22 18:20:47", "updatedTime": "2021-06-22 18:20:47" }, { "id": "1044", "country": "美国", "location": "线路4", "parentId": "1999", "groupId": "1044", "createdTime": "2021-06-22 18:20:47", "updatedTime": "2021-06-22 18:20:47" }, { "id": "1045", "country": "美国", "location": "线路5", "parentId": "1999", "groupId": "1045", "createdTime": "2021-06-22 18:20:47", "updatedTime": "2021-06-22 18:20:47" }, { "id": "1046", "country": "美国", "location": "线路6", "parentId": "1999", "groupId": "1046", "createdTime": "2021-06-22 18:20:47", "updatedTime": "2021-06-22 18:20:47" }, { "id": "1047", "country": "美国", "location": "线路7", "parentId": "1999", "groupId": "1047", "createdTime": "2021-06-22 18:20:47", "updatedTime": "2021-06-22 18:20:47" }, { "id": "2998", "country": "香港", "location": "线路", "parentId": "2998", "groupId": "2998", "createdTime": "2021-11-22 17:38:00", "updatedTime": "2021-11-22 17:38:04" }, { "id": "2041", "country": "香港", "location": "线路1", "parentId": "2998", "groupId": "2041", "createdTime": "2021-11-22 17:38:00", "updatedTime": "2021-11-22 17:38:04" } ], "totalCount": 25, "totalPages": 3, "pageSize": 10, "pageNo": 1 } }