Skip to content
关注公众号,获取新课通知

获取app升级版本

接口URL

https://sqapi2.dishawang.com/api/v1/upgradation

请求方式

POST

Content-Type

json

请求Header参数

参数名示例值参数类型是否必填参数描述
token8baa80bb9795f381cea0ba6c0755bf4ef33c84adString-

请求Body参数

json
{
  "platform": "android",
  "appVersion": "0.0.1",
  "appid": "__UNI__41B4230",
  "wgtVersion": "0.0.0.0.0.1"
}

成功响应示例

json
{
  "code": 1,
  "msg": "app",
  "data": {
    "id": 1,
    "appid": "__UNI__41B4230",
    "name": "帝莎编程",
    "title": "测试更新",
    "contents": "1. 优化了部分体验\n2. 优化了加载速度\n3. 修复了部分bug",
    "platform": [
      "android"
    ],
    "type": "native_app",
    "version": "1.0.1",
    "min_uni_version": "1.0.0",
    "url": "https://tangzhe123-com.oss-cn-shenzhen.aliyuncs.com/Appstatic/qsbk/newApk/1.0.1/__UNI__41B4230_0131024610.apk",
    "stable_publish": true,
    "is_silently": false,
    "is_mandatory": false,
    "uni_platform": "android",
    "create_time": "2024-01-22 21:59:27",
    "update_time": "2024-01-31 03:21:28",
    "create_env": "upgrade-center",
    "store_list": null,
    "code": 102,
    "message": "app更新"
  }
}