文档
测试

获取套餐列表

GET
http://{{ego-local-test}}/ego/vpn-bss/price-packages/region?region=ego

请求头

参数名
类型
描述
必填
Authorization
string
示例:Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjEzODExMTY3Nzc3IiwiZXhwIjoxNjY5MDIwNjg0LCJpYXQiOjE2Mzc0ODQ2ODR9.L6KusdiJn57UO0toBuSs3SQEIBJKUOBNHMGrf5Py0iY
必填

请求参数

参数名
类型
描述
必填
region
string
示例:ego
必填

响应参数

参数名
类型
描述
必填
code
string
示例:200
必填
message
object
示例:null
必填
success
boolean
示例:true
必填
data
array
数据列表
必填
id
int
示例:90000001
必填
name
string
示例:普通版-日卡
必填
origPrice
int
示例:3
必填
discountPrice
int
示例:1
必填
tag
string
示例:随机赠送
必填
description
string
示例:一日专享,高带宽
必填
time
string
示例:1
必填
unit
string
示例:day
必填
size
string
示例:1
必填
region
string
示例:ego
必填
firstPayFlag
string
示例:0
必填
createdTime
string
示例:2021-11-18 15:28:31
必填

说明 / 示例

返回200 { "code": "200", "message": null, "success": true, "data": [ { "id": 90000001, "name": "普通版-日卡", "origPrice": 3, "discountPrice": 1, "tag": "随机赠送", "description": "一日专享,高带宽", "time": "1", "unit": "day", "size": "1", "region": "ego", "firstPayFlag": "0", "createdTime": "2021-11-18 15:28:31" }, { "id": 90000002, "name": "普通版-月卡", "origPrice": 4, "discountPrice": 2, "tag": null, "description": "一日专享,高带宽", "time": "1", "unit": "month", "size": "1", "region": "ego", "firstPayFlag": "0", "createdTime": "2021-11-18 15:39:54" }, { "id": 90000003, "name": "高级版-日卡", "origPrice": 5, "discountPrice": 1, "tag": null, "description": "高级卡", "time": "1", "unit": "day", "size": "2", "region": "ego", "firstPayFlag": "0", "createdTime": "2021-11-18 15:41:39" }, { "id": 90000004, "name": "高级版-月卡", "origPrice": 5, "discountPrice": 2, "tag": null, "description": "高级卡", "time": "1", "unit": "month", "size": "2", "region": "ego", "firstPayFlag": "0", "createdTime": "2021-11-18 15:41:59" } ] }