文档
测试

获取当前用户的线路

GET
http://{{flygo-local-test}}/ego/vpn-bss/serve-account-region/admin/13811167771

请求头

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

响应参数

参数名
类型
描述
必填
code
string
示例:200
必填
message
object
示例:null
必填
success
boolean
示例:true
必填
data
object
数据字典
必填
serveAccountDTO
object
数据字典
必填
userDTO
object
数据字典
必填
verifyCode
object
示例:null
必填
referralCode
string
示例:A4iOkHlR
必填
id
string
示例:13811167771
必填
password
object
示例:null
必填
mail
object
示例:null
必填
wechatId
object
示例:null
必填
qqId
object
示例:null
必填
addr
object
示例:null
必填
upLineReferralCode
string
示例:
必填
upLineUserId
object
示例:null
必填
agentFlag
object
示例:null
必填
firstPayFlag
string
示例:1
必填
referralUrl
object
示例:null
必填
retMsg
object
示例:null
必填
deadline
string
示例:2022-11-16 01:11:22
必填
serviceFlag
string
示例:1
必填
nodeSize
string
示例:2
必填
token
object
示例:null
必填
nodeIp
string
示例:43.154.191.5
必填
outerNodeIp
string
示例:43.154.191.5
必填
nodeAccountDTO
object
数据字典
必填
id
string
示例:c0a02fd0-a3c4-4a00-a2ea-98b88b73d6d5
必填
nodeId
string
示例:722b3b95-d726-4e29-b454-8157d2af62ab
必填
account
string
示例:16388
必填
password
string
示例:0f01ed3941
必填
userId
string
示例:13811167771
必填
regionConfigId
string
示例:2998
必填
status
string
示例:1
必填
createdTime
string
示例:2022-05-10 17:02:16
必填
updatedTime
string
示例:2022-05-21 21:02:11
必填
regionConfigDTO
object
数据字典
必填
id
string
示例:2998
必填
country
string
示例: 香港 线路
必填
location
string
示例:线路 区域
必填
parentId
string
示例:2998
必填
groupId
string
示例:2998
必填
createdTime
string
示例:2021-11-22 17:38:00
必填
updatedTime
string
示例:2021-11-22 17:38:04
必填
serveConfigDTO
object
数据字典
必填
protocol
string
示例:auth_chain_a
必填
protocolParam
string
示例:1qaz2wsx3edc
必填
obfs
string
示例:http_simple
必填
obfsParam
string
示例:70174394.apple.com
必填
urlGroup
string
示例:FreeSSR-public
必填
method
string
示例:none
必填

说明 / 示例

这个接口返回内容较多,在别的地方有用处。 这里只需要country和location 比如返回香港-线路 { "code": "200", "message": null, "success": true, "data": { "serveAccountDTO": { "userDTO": { "verifyCode": null, "referralCode": "A4iOkHlR", "id": "13811167771", "password": null, "mail": null, "wechatId": null, "qqId": null, "addr": null, "upLineReferralCode": "", "upLineUserId": null, "agentFlag": null, "firstPayFlag": "1", "referralUrl": null, "retMsg": null, "deadline": "2022-11-16 01:11:22", "serviceFlag": "1", "nodeSize": "2", "token": null }, "nodeIp": "43.154.191.5", "outerNodeIp": "43.154.191.5", "nodeAccountDTO": { "id": "c0a02fd0-a3c4-4a00-a2ea-98b88b73d6d5", "nodeId": "722b3b95-d726-4e29-b454-8157d2af62ab", "account": "16388", "password": "0f01ed3941", "userId": "13811167771", "regionConfigId": "2998", "status": "1", "createdTime": "2022-05-10 17:02:16", "updatedTime": "2022-05-21 21:02:11" } }, "regionConfigDTO": { "id": "2998", "country": "香港", "location": "线路", "parentId": "2998", "groupId": "2998", "createdTime": "2021-11-22 17:38:00", "updatedTime": "2021-11-22 17:38:04" }, "serveConfigDTO": { "protocol": "auth_chain_a", "protocolParam": "1qaz2wsx3edc", "obfs": "http_simple", "obfsParam": "70174394.apple.com", "urlGroup": "FreeSSR-public", "method": "none" } } }