Page History

Getcommonmsg

Last edited by 赵家龙

返回

App获取相关信息


URL: http://apiwjjtest.cnlive.com/Daren/common/getCommonMsg.action?deviceType=Android&type=B&appId=802_xxxxxx&app_channel_id=anzhi&ver=1.0.4.6


请求方式: HTTP POST


请求参数说明:

参数名 参数类型 必选 参数说明
appId String true 应用Id
deviceType String true 设备类型IOS/Android
type String true 平台B/C
app_channel_id String false 渠道
ver String true 版本
plat String true 移动设备 i:ios a:安卓
sid String true 用户id

返回格式: JSON


返回格式样例:

{
    "data": {
 "unionUser":{
            "unionUserStatus":1,
            "unionId":"0"
        },
"wjjCommon": {
            "phone": "010-65832485"
        },
 "holidayThemeMap": {
            "isShow": 0,
            "androidIsShow": 0,
            "holidayTheme": {
                "androidClickAfter": "FF3E45",
                "androidClickBefore": "999999",
                "androidImagePackage": "",
                "androidShowSource": 2,
                "androidStatus": 0,//安卓是否启用 0: 1 
                "androidThemeId": "92c053c4f45a4e518969c80612bbfe02",
                "androidThemeIdentify": "ChristmasSkinType",
                "androidUpdateType": 10,
                "clickAfter": "FF3E45",
                "clickBefore": "999999",
                "create_time": 1575258945084,
                "extension": {
                    "holidaySign": "ChristmasSkinType"
                },
                "iosThemeIdentify": "ChristmasSkinType",
                "holidayThemeStatus": 0,//整体是否启用 0: 1:否
                "id": "74a7152f3fc7464ab4f4430c778bebfd",
                "iosId": "1dfbff9aed004dd18095274504590d52",
                "ios_imagePackage": "",
                "showSource": 1,0:本地 1本地节日 2网络节日
                "status": 0,//ios是否启用 0: 1:否
                "themeIcon": [],
                "title": "圣诞节测试",
                "updateType": 0
            }
        },
        "cDownLoadUrl": "http://apiwjj.cnlive.com/download/index.html?ts=1575263622036",
        "versionMsg": {
            "channelMap": null,
            "createTime": "2019-11-29 18:51:41",
            "deviceType": "Android",
            "downLoadUrl": "http://wjjtest.ys1.cnliveimg.com/download/debug_ac/1571/strike-1.5.7.1-debug.apk",
            "forceUpdating": false,
            "holidayThemeMap": null,
            "id": "977c10206ec044c6b865e78c7b22c69d",
            "msg": "用户端1.5.7.1debug版本",
            "newest": true,
            "openScreenAdv": null,
            "showGuide": 1,
            "type": "C",
            "version": "1.5.7.1",
            "versionCode": "1571"
        },
        "userterms": [
            {
                "detailUrl": "http://wjjh5.cnlive.com/newYhxy.html",
                "title": "《用户协议》",
                "type": "yhxy",
                "desc": ""
            },
            {
                "detailUrl": "http://wjjh5.cnlive.com/term_xieyi5.html",
                "title": "《隐私政策协议》",
                "type": "yszc",
                "desc": ""
            },
            {
                "detailUrl": "http://wjjh5.cnlive.com/cnhf.html",
                "title": "《帮助与反馈》",
                "type": "bzfk",
                "desc": ""
            },
            {
                "detailUrl": "http://wjjh5.cnlive.com/cnhb.html",
                "title": "《使用手册》",
                "type": "ljwjj",
                "desc": ""
            },
            {
                "detailUrl": "http://wjjh5.cnlive.com/newCpjj.html",
                "title": "《应用简介》",
                "type": "yyjj",
                "desc": ""
            },
            {
                "detailUrl": "http://wjjh5.cnlive.com/sdk.html",
                "title": "《版权信息》",
                "type": "bqxx",
                "desc": ""
            },
            {
                "detailUrl": "http://wjjh5.cnlive.com/newRjxkfw_xieyi.html",
                "title": "《软件许可及服务协议》",
                "type": "rjxkxy",
                "desc": ""
            },
            {
                "detailUrl": "https://wjj.ys1.cnliveimg.com/term/audioFwxy.html",
                "title": "《网家家APP购买音频内容服务协议》",
                "type": "ypxy",
                "desc": ""
            },
            {
                "detailUrl": "https://wjj.ys1.cnliveimg.com/term/thirdPartyXy.html",
                "title": "第三方登录协议",
                "type": "sfdlxy",
                "desc": ""
            }
        ],
 "videoCircleSourcesList":[
            {
                "categoryTag":[
                    {
                        "tagId":"1",
                        "tagName":"爆料",
                        "colour":"#8C2A2A"
                    },
                    {
                        "tagId":"2",
                        "tagName":"正能量",
                        "colour":"#8C2A2A"
                    }
                ],
                "changePath":"Daren/witness/releaseWitness.action",
                "defaultText":"我在现场,我要说...(字数不超过140字)",
                "defaultTitle":"上传目击者视频",
                "detailAddress":0,
                "id":337,

"describes":"老年社交、娱乐、学习类视频"
                "multipleCategory":375,
                "path":"http://apiwjjtest.cnlive.com/Daren/witness/releaseWitness.action",
                "pic":"https://wjj.ys1.cnliveimg.com/769/img/2018/0129/20190423180351.png",
                "source":0,
                "text":"目击者",
                "title":"目击者",
                "videoType":"witness",
                "bottomSrc":"https://wjj.ys1.cnliveimg.com/769/img/2018/0129/20190423180351.png",
                "topColor":"FF3E43",
                "protocolAddress":"https://wjj.ys1.cnliveimg.com/term/witnessRzxy.html"
 "releaseButtonColor":""
            },
            {
                "categoryTag":[
                    {
                        "tagId":"106",
                        "tagName":"童声共济",
                        "colour":"#8C2A2A"
                    }
                ],
                "changePath":"Daren/witness/releaseWitness.action",
                "defaultText":"我要参加",
                "defaultTitle":"上传童声共济视频",
                "detailAddress":1,
                "id":338,
      "channelName":"10000"
                "multipleCategory":375,
                "path":"http://apiwjjtest.cnlive.com/Daren/witness/releaseWitness.action",
                "pic":"https://wjj.ys1.cnliveimg.com/769/img/2018/0129/20190423180351.png",
                "source":1,
                "text":"童声共济",
                "title":"童声共济",
                "videoType":"witness",
                "bottomSrc":"https://wjj.ys1.cnliveimg.com/769/img/2018/0129/20190423180351.png",
                "topColor":"FF3E43",
                "protocolAddress":"https://wjj.ys1.cnliveimg.com/term/witnessRzxy.html"
 "releaseButtonColor":""
            }
        ],

        "subscribeIdentity": true,
        "refundReason": [
            "收到商品少件/破损/污渍",
            "颜色/款式/版本与商品不符",
            "卖家发错货",
            "使用后过敏",
            "假冒品牌",
            "其他"
        ],
        "num": 3,
        "channelVer": "4",

        "isOperating": 0,
        "remoteControlStatus": false,
        "isYiDongBoxUser": false,
        "bDownLoadUrl": "http://apiwjj.cnlive.com/download/darenDownload.html?ts=1575263622036",
        "channelMsg": [
            {
                "channelId": "aaaaaaaaa",
                "channelName": "视讯中国",
                "channelType": "h5",
                "flag": true,
                "pageUrl": "http://wjjh5test.cnlive.com/cnnews.html",
                "sort": 5
            },
            {
                "channelId": "bbbbbb",
                "channelName": "生活广场",
                "channelType": "shgc",
                "flag": true,
                "pageUrl": "",
                "sort": 4
            },
            {
                "channelId": "cccccc",
                "channelName": "直播中国",
                "channelType": "h5",
                "flag": true,
                "pageUrl": "http://wjjh5test.cnlive.com/cndr.html",
                "sort": 3
            },
            {
                "channelId": "dddd",
                "channelName": "娱乐中国",
                "channelType": "h5",
                "flag": true,
                "pageUrl": "http://wjjh5test.cnlive.com/cnetm.html",
                "sort": 2
            },
            {
                "channelId": "eeee",
                "channelName": "视频中国",
                "channelType": "h5",
                "flag": true,
                "pageUrl": "http://wjjh5test.cnlive.com/cnvideo.html",
                "sort": 1
            }
        ],
        "eleTicketUrl": "http://wjjh5test.cnlive.com/cn_isEleTicket.html",
        "subType": "app",
        "disableLinks": true,
 "channelName": {

}
        "integralMsg": {
            "watchVideoH5": 10000,
            "shareImgPathDebug": "http://wjjh5test.cnlive.com/static/logo.png",
            "ShareDownLoadDebug": "http://wjjh5test.cnlive.com/apkdownload.html?",
            "isShowIntegral": "true",
            "ShareDownLoadRelease": "http://wjjh5.cnlive.com/apkdownload.html?",
            "watchVideo": 30000,
            "shareTitle": "快来加入中国网家家,优享美好生活!",
            "readArticle": "30000",
            "shareImgPathRelease": "http://wjjh5.cnlive.com/static/logo.png",
            "shareSubTitle": "中国网家家 让生活更美好!",
            "listenNovel": 60000
        },
        "selectedTab": 0,
 "identifying":{
            "moment":"http://test.qnvod.cnlive.com/802/img/2019/1008/1570515576224.gif",
            "subscribe":"http://test.qnvod.cnlive.com/802/img/2019/1008/1570515576224.gif",
            "youxuan":"http://test.qnvod.cnlive.com/802/img/2019/1008/1570515576224.gif"
        },
    },
    "errorCode": "0",
    "errorMessage": "成功"
}