文档
测试

获取可切换的线路列表

GET
http://118.195.134.72:60082/ego/vpn-bss/region-configs?switchable=true

请求头

参数名
类型
描述
必填
Authorization
string
示例:Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjE1MDAxMTIwMTE4IiwiZXhwIjoxNzQzOTE4MjA5LCJpYXQiOjE2ODA4NDYyMDl9.0uu0ZDhFljsUHt4SHBH9wD6TuP_XGRquMEVBzMtAh6U
必填

请求参数

参数名
类型
描述
必填
switchable
string
示例:true
必填

响应参数

参数名
类型
描述
必填
code
string
示例:200
必填
message
object
示例:null
必填
success
boolean
示例:true
必填
data
array
数据列表
必填
id
string
示例:2001
必填
country
string
示例:香港
必填
location
string
示例:线路一
必填
parentId
string
示例:2001
必填
groupId
string
示例:2001
必填
serviceType
string
示例:香港线路
必填
serviceDesc
string
示例:高级版用户香港线路
必填
createdTime
string
示例:2021-06-22 18:20:47
必填
updatedTime
string
示例:2021-06-22 18:20:47
必填

说明 / 示例

{ "code": "200", "message": null, "success": true, "data": [ { "id": "2001", "country": "香港", "location": "线路一", "parentId": "2001", "groupId": "2001", "serviceType": "香港线路", "serviceDesc": "高级版用户香港线路", "createdTime": "2021-06-22 18:20:47", "updatedTime": "2021-06-22 18:20:47" }, { "id": "2002", "country": "美国", "location": "线路一", "parentId": "2001", "groupId": "2001", "serviceType": "美国线路", "serviceDesc": "高级版用户从欧洲线路", "createdTime": "2021-06-22 18:20:47", "updatedTime": "2021-06-22 18:20:47" }, { "id": "2010", "country": "日本", "location": "线路一", "parentId": "2001", "groupId": "2001", "serviceType": "日本线路", "serviceDesc": "高级版用户日本线路", "createdTime": "2021-06-22 18:20:47", "updatedTime": "2021-06-22 18:20:47" }, { "id": "2011", "country": "新加坡", "location": "线路二", "parentId": "2001", "groupId": "2001", "serviceType": "新加坡线路", "serviceDesc": "高级版用户新加坡线路", "createdTime": "2021-06-22 18:20:47", "updatedTime": "2021-06-22 18:20:47" }, { "id": "2020", "country": "德国", "location": "线路一", "parentId": "2001", "groupId": "2001", "serviceType": "德国线路", "serviceDesc": "高级版用户德国线路", "createdTime": "2021-06-22 18:20:47", "updatedTime": "2021-06-22 18:20:47" }, { "id": "2030", "country": "台湾", "location": "线路一", "parentId": "2001", "groupId": "2001", "serviceType": "台湾线路", "serviceDesc": "高级版用户台湾线路", "createdTime": "2021-06-22 18:20:47", "updatedTime": "2021-06-22 18:20:47" }, { "id": "2040", "country": "英国", "location": "线路一", "parentId": "2001", "groupId": "2001", "serviceType": "英国线路", "serviceDesc": "高级版用户英国线路", "createdTime": "2021-06-22 18:20:47", "updatedTime": "2021-06-22 18:20:47" }, { "id": "2050", "country": "马来西亚", "location": "线路一", "parentId": "2001", "groupId": "2001", "serviceType": "马来西亚线路", "serviceDesc": "高级版用户马来西亚线路", "createdTime": "2021-06-22 18:20:47", "updatedTime": "2021-06-22 18:20:47" }, { "id": "9010", "country": "故障", "location": "临时应急线路", "parentId": "9010", "groupId": "9010", "serviceType": "故障临时应急线路", "serviceDesc": "临时故障线路", "createdTime": "2022-11-09 15:15:45", "updatedTime": "2022-11-09 15:15:48" }, { "id": "2060", "country": "印度尼西亚", "location": "线路一", "parentId": "2001", "groupId": "2001", "serviceType": "印度尼西亚线路", "serviceDesc": "高级版用户印度尼西亚线路", "createdTime": "2021-06-22 18:20:47", "updatedTime": "2021-06-22 18:20:47" }, { "id": "2070", "country": "澳洲", "location": "线路一", "parentId": "2001", "groupId": "2001", "serviceType": "澳洲线路", "serviceDesc": "高级用户澳洲线路", "createdTime": "2023-03-15 15:51:25", "updatedTime": "2023-03-15 15:51:29" } ] }