Page History

Walletlist

Last edited by 谷俊

返回

钱包列表接口


URL: http://uc.cnlive.com/my/getMyWallet.action?spId=xxx&token=xxx


请求方式: HTTP GET


返回格式: JSON


版本:互动电视5.3开始


请求参数说明:

参数名 参数类型 必选 参数说明
spId String true 服务提供商
token String true 参数加密串
----plat String true 客户端平台
----sid String true 用户ID

返回格式说明:

{
    errorCode:"",
    errorMsg:"",
    data:[
      {                        
        type:"",        // 消息类型(cnCoin-中国币,redPkg-红包, web-web页,buyCoin-购买中国币)
        title:"",       // 消息
                icon:"",        // 图标
        description:"", // 描述
        url:"",         // h5为url,其他为""                                             
      }
    ]        
}

返回样例:

{
    "errorCode": "0",
    "errorMessage": "success",
    "data": [
        {
            "url": "",
            "type": "cnCoin",
            "title": "中国币",
            "description": "81167"
        },
        {
            "url": "",
            "type": "redPkg",
            "title": "红包",
            "description": "500"
        },
        {
            "url": "http://www.baidu.com",
            "type": "web",
            "title": "奖品",
            "description": ""
        }
    ]
}