Page History

Getnewestversion

Last edited by 郑超

返回

获取最新版本信息


URL: http://apiwjjtest.cnlive.com/Daren/common/getNewestVersion.action


请求方式: HTTP POST


请求参数说明:

参数名 参数类型 必选 参数说明
deviceType String true IOS/Android
type String true B/C(达人端/普通用户端)
app_channel_id String false 渠道
ver String true 版本

返回格式: JSON


返回格式样例:

{
    "data": {
        "channelMap": null,
        "createTime": "2019-12-18 13:03:00",
        "deviceType": "Android",
        "downLoadUrl": "http://wjjtest.ys1.cnliveimg.com/download/debug_ac/1578/strike-1.5.7.8-debug.apk",
        "forceUpdating": false,
        "holidayThemeMap": null,
        "videoPlaybackAdvertise": {
            "create_time": "",
            "duration": 10,
            "id": "1",
            "landscapeShowType": 0,//横屏显示类型 0:图片 1:视频
            "landscape_resources": "http://wjj.ys1.cnliveimg.com/769/img/2018/0411/baishan.jpg",//横屏地址
            "landscape_url": "http://www.baidu.com",  //跳转路径
            "portraitShowType": 0,//竖屏显示类型 0:图片 1:视频
            "portrait_resources": "http://wjj.ys1.cnliveimg.com/769/img/2018/0411/baishan.jpg",//竖屏地址
            "portrait_url": "http://www.baidu.com",//跳转路径
            "status": 0,  广告0:启用 1:禁用
            "updateType": 0//累加 判断是否刷新客户端本地数据
        },
        "id": "62177489ce1e4212b06e751d67f871dc",
        "msg": "用户端1.5.7.8debug版本",
        "newest": true,
        "openScreenAdv": {
            "duration": null,
            "iosImg2": "http://test.qnvod.cnlive.com/802/img/2019/1219/1576745636056.jpg",
            "iosImg1": "http://test.qnvod.cnlive.com/802/img/2019/1219/1576745635929.jpg",
            "modifyStatus": 9,
            "id": 18,
            "wjjAdv": 0,
            "advertType": 0,
            "url": "http://wjjh5test.cnlive.com/cnwitness_detail.html?contentId=302930&model=3_witness&isApp=true&channelName=101&pid=1059_1494200&isShowTitle=true&isWjjReport=true&title=%E7%AC%AC%E4%B8%83%E5%B1%8A%E4%B8%96%E7%95%8C%E5%86%9B%E4%BA%BA%E8%BF%90%E5%8A%A8%E4%BC%9A%E5%BC%80%E8%B5%9B%E5%9C%A8%E5%8D%B3%20%E4%BA%A4%E9%80%9A%E4%BF%9D%E9%9A%9C%E5%87%86%E5%A4%87%E5%B0%B1%E7%BB%AA&source=&shareSid=1463136&sid=1463136&plat=i&ver=1.6.2.19.12.17.18&version=1.6.2&wjjFrom=apple&wjjUUID=E533A7F8EEF14861B8993B0824EDD0BA_1562147826&appId=802_jhlqbq4475",
            "andImg": "http://test.qnvod.cnlive.com/802/img/2019/1219/1576745635743.jpg"
        },
        "pauseAdvertise": {
            "create_time": "",
            "duration": 10,
            "id": "1",
            "landscapeShowType": 0,//横屏显示类型 0:图片 1:视频
            "landscape_resources": "http://wjj.ys1.cnliveimg.com/769/img/2018/0411/baishan.jpg",//横屏地址
            "landscape_url": "http://www.baidu.com",  //跳转路径
            "portraitShowType": 0,//竖屏显示类型 0:图片 1:视频
            "portrait_resources": "http://wjj.ys1.cnliveimg.com/769/img/2018/0411/baishan.jpg",//竖屏地址
            "portrait_url": "http://www.baidu.com",//跳转路径
            "status": 0, 广告 0:启用 1:禁用
            "updateType": 0//累加 判断是否刷新客户端本地数据
        },
        "showGuide": 0,
        "type": "C",
        "version": "1.5.7.8",
        "versionCode": "1578"
    },
    "errorCode": "0",
    "errorMessage": "成功"
}