检查版本
GET
/app/app/version/check请求参数
Query 参数
version
string
当前版本
示例值:
1.0.0
type
number
0-安卓
示例值:
0
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
message
string
必需
data
object
必需
createTime
string
创建时间
updateTime
string
更新时间
name
string
版本名称
version
string
版本号
type
integer
类型
0-安卓
url
string
下载地址
forceUpdate
number
是否强制更新
0-否 1-是
description
string
描述
示例
{
"code": 1000,
"message": "success",
"data": {
"id": 2,
"createTime": "2023-11-06 15:06:20",
"updateTime": "2023-11-07 10:25:26",
"versionName": "测试版",
"version": "1.0.1",
"type": 0,
"url": "https://xxxx/app.apk",
"forceUpdate": 1,
"status": 1,
"description": "这是个测试更新"
}
}
最后修改时间: 1 年前