菜单

包月开机列表

使用说明

获取包月开机列表,支持分页,单页最大100条记录

请求说明

POST /api/v1/subscriptionStartup/list

请求参数

参数 类型 必需 说明
id string ID
name string 名称
remark string 备注
renewal_status int 自动续费,0 关闭;1 开启
sort_by string 排序字段,name 名称;created_at 创建时间;expired_at 过期时间
order string 排序规则,根据sort_by指定字段排序,asc 正序;desc 倒序
page int 请求页码,若不传则默认为第一页
pagesize int 每页数量,若不传则默认10条/页

请求示例

json 复制代码
{
    "page": 1,
    "pagesize": 10,
    "sort_by": "created_at",
    "order": "desc",
    "id": "xxx",
    "name": "xxx",
    "renewal_status": 0,
    "remark": "xxx"
}

返回示例

json 复制代码
{
    "code": 200,
    "data": {
        "list": [
            {
                "id": "xx", // 包月开机ID
                "name": "xx",  // 名称
                "cpu": "8核", // CPUs
                "ram": "4G",  // 内存
                "rom": "32G", // 存储
                "renewal_status": 0, // 是否续费
                "remark": "xx", // 备注
                "expired_at": "1770108845", // 过期时间
                "created_at": "1759136045",  // 创建时间
                "need_renewal": false  // 是否即将过期
            }
        ],
        "page": 1,
        "pagesize": 10,
        "total": 1,
        "total_page": 1
    },
    "message": "Success"
}
上一个
包月开机管理
下一个
包月开机购买
最近修改: 2026-01-27Powered by