GetLatestVersion 获取最新版本
POST
/rpc/get/latest/version
版本信息
1.仅已激活状态可调用
请求参数
Body 参数application/json
object {0}
示例
{}
返回响应
🟢200成功
application/json
Body
code
enum<integer> <int32>
必需
枚举值:
0110001001100210031004100510061007150015011503150420002500
默认值:
0
msg
string
状态描述
data
object (GetLatestVersionReply_Data 声明响应数据结构)
可选
updateType
enum<integer> <int32>
必需
枚举值:
0123
默认值:
0
updateContent
string
更新内容
versionList
array[object (VersionInfo 版本下载信息) {2}]
版本列表
示例
{
"code": 0,
"msg": "string",
"data": {
"updateType": 0,
"updateContent": "string",
"versionList": [
{
"versionInfo": {
"appType": 0,
"version": "string",
"internalVersion": "string"
},
"url": "string"
}
]
}
}