在售套餐列表

请求URL

  • {{url}}/api/package/list

请求方式

  • get

Header

字段名
示例值
必选
类型
说明

x-api-key

{{x-api-key}}

string

x-api-secret

{{x-api-secret}}

string

请求Query参数

参数名
示例值
必选
类型
说明

page

1

string

limit

10

string

group

string

获取指定分组的套餐

mine

string

置为1时,显示专属套餐

请求参数示例


成功返回示例

{
  "code": 0,
  "data": {
    "count": 2,
    "list": [
      {
        "backend_ip_limit": "",
        "backup_node_group": null,
        "backup_node_group_name": null,
        "bandwidth": "2Mbps",
        "before_exp_days_renew": -1,
        "buy_num_limit": -1,
        "cname_domain": "",
        "cname_hostname2": "111",
        "cname_mode": "package",
        "connection": -1,
        "create_at": null,
        "create_at2": "2024-10-08 20:53:25",
        "custom_cc_rule": 0,
        "des": "111",
        "domain": -1,
        "enable": 1,
        "expire": null,
        "expire2": null,
        "groups": "2",
        "http_port": -1,
        "id": 1,
        "id_verify": 0,
        "month_price": 0,
        "name": "test",
        "node_group_id": 1,
        "node_group_name": "test",
        "owner": null,
        "quarter_price": 0,
        "region_id": 1,
        "region_name": "默认",
        "sort": 100,
        "stream_port": -1,
        "traffic": -1,
        "update_at": null,
        "websocket": 0,
        "year_price": 0
      }
    ]
  },
  "msg": "ok"
}

Last updated