简要描述:

  • 获取版本列表接口

接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 kevin 2021-09-13

请求URL:

请求方式:

  • GET

请求头:

参数名 是否必须 类型 说明
token string 授权凭证

请求参数:

参数名 是否必须 类型 说明
page int 页码
pagesize int 条数
type int 平台 【Android=安卓, iOS=苹果,desktop=桌面端】,默认Android

返回示例:

正确时返回:

{
    "status": 200,
    "msg": "获取成功",
    "data": {
        "list": [
            {
                "type": "安卓",
                "name": "版本1.0.0",
                "version": "1.0.0",
                "description": "1.0.0",
                "download_url": "http://kefu.com/uploads/apk/2021-08-12/6114942c9ce01.apk",
                "create_at": "2021-08-12 11:23:25"
            }
        ],
        "page": 1,
        "pagesize": 1,
        "total": 1
    },
    "other": []
}

错误时返回:

{
    "status": 0,
    "msg": "token过期"
}

返回参数说明:

参数名 类型 说明
type string 类型 安卓/苹果/桌面
name string 名称
version string 版本号
description string 描述
download_url string 下载地址
create_at string 时间

备注:

文档更新时间: 2021-09-13 16:57   作者:admin