接口基本信息 会员免费代码示例 接口测试

请求参数

参数名 是否必传 默认值 说明
appsec 在用户中心-基本信息中获取
issue 期数
type 彩票种类:1快乐8,2双色球,3福彩3D,4七乐彩,5大乐透,6排列3,7排列5,8七星彩

返回状态码

错误代码 原因 说明
AJAX_SUCCESS 请求成功
AJAX_EXCEPTION 系统异常
AJAX_NOTBUY 尚未购买服务
AJAX_OUTOFDATE 服务已过期
AJAX_NONELEFT 剩余请求次数已经为0
AJAX_NOTWHITELIST 请求IP不在白名单
AJAX_PARAM_ERR 请求参数有误

返回数据示例(JSON)

{
    "code":"AJAX_SUCCESS",
    "msg":"操作成功",
    "data":[
        {
            "cpId":"22012118",
            "type":2,
            "issue":"2012118",
            "openTime":"2012年10月07日",
            "saleMoney":352094784,
            "prizePoolMoney":302161536,
            "deadlineAwardDate":"2012年12月06日",
            "frontWinningNum":"05,06,07,12,15,28,",
            "backWinningNum":"11,",
            "winnerList":[
                {
                    "idx":"22012118一等奖",
                    "cpId":"22012118",
                    "remark":"一等奖",
                    "baseAwardNum":12,
                    "baseAwardMoney":6323576
                }
,
                {
                    "idx":"22012118二等奖",
                    "cpId":"22012118",
                    "remark":"二等奖",
                    "baseAwardNum":166,
                    "baseAwardMoney":143520
                }
,
                {
                    "idx":"22012118三等奖",
                    "cpId":"22012118",
                    "remark":"三等奖",
                    "baseAwardNum":1744,
                    "baseAwardMoney":3000
                }
,
                {
                    "idx":"22012118四等奖",
                    "cpId":"22012118",
                    "remark":"四等奖",
                    "baseAwardNum":86797,
                    "baseAwardMoney":200
                }
,
                {
                    "idx":"22012118五等奖",
                    "cpId":"22012118",
                    "remark":"五等奖",
                    "baseAwardNum":1504525,
                    "baseAwardMoney":10
                }
,
                {
                    "idx":"22012118六等奖",
                    "cpId":"22012118",
                    "remark":"六等奖",
                    "baseAwardNum":11095042,
                    "baseAwardMoney":5
                }

            ]

        }

    ]
,
    "timeMs":99,
    "success":true
}

返回参数说明

名称 含义
cpId ID
type 彩票种类:1快乐8,2双色球,3福彩3D,4七乐彩,5大乐透,6排列3,7排列5,8七星彩
issue 期数
openTime 开奖时间
saleMoney 本期销量
prizePoolMoney 奖池滚存
deadlineAwardDate 兑奖截止日期
frontWinningNum 红球中奖号码
backWinningNum 篮球中奖号码
winnerList 中奖情况列表
winnerList->idx ID
winnerList->cpId 彩票ID
winnerList->remark 奖项名字,比如一等奖
winnerList->baseAwardNum 中奖人数
winnerList->baseAwardMoney 每人中奖金额