Page History

Cncoindetail

Last edited by 国亚奇

返回

中国币详情接口


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


请求方式: HTTP GET


返回格式: JSON


版本:互动电视5.3开始


请求参数说明:

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

返回格式说明:

{
    errorCode:"",
    errorMsg:"",
    data:{  
        ruleUrl:"",                         // 中国币规则
        cnCoinTotal:"",                      // 中国币
        cnCoinStoreUrl:""               // 积分商城URL  ???
        cnCoinStoreLogUrl:""            // 兑换记录URL  ???
        detail: [
                    {
                        info:"",        // 消费明细
                        time:"",        // 消费时间
                        cnCoin:""       // 消费金额
                    },

                    {
                        info:"",        // 消费明细
                        time:"",        // 消费时间
                        cnCoin:""       // 消费金额
                    },

                    {
                        info:"",        // 消费明细
                        time:"",        // 消费时间
                        cnCoin:""       // 消费金额
                    }
                ],
          previous_cursor: "1",
          next_cursor: "0",
          total_number: "1"
        }    
}

返回样例 :

{
    "errorCode": "0",
    "errorMsg": "success",
    "data": {
        "ruleUrl": "http://baidu.com",
        "cnCoinTotal": "500",
        "cnCoinStoreUrl": "http://baidu.com",
        "cnCoinStoreLogUrl": "http://baidu.com",
        "detail": [
            {
                "info": "切西瓜奖励中国币",
                "time": "2015-10-19 18:01",
                "cnCoin": "+5"
            },
            {
                "info": "分享奖励中国币",
                "time": "2015-10-18 13:31",
                "cnCoin": "+2"
            }
        ],
        "previous_cursor": "1",
        "next_cursor": "0",
        "total_number": "1"
    }
}