获取彩种
<p><strong>简要描述:</strong> </p>
<ul>
<li>获取彩种接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/api/orders/basal/get-lottery</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>参数:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">token</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>token</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
"code": 600,
"msg": "获取成功",
"result": {
"data": [
{
"lottery_code": "3000",
"lottery_name": "竞彩足球",
"status": "1",
"sale_status": "1",
"lottery_pic": "http://php.javaframework.cn/img/lottery/171220030738_zuqiu.gif",
"description": "多种玩法任你选",
"lottery_time": "1970-01-01",
"lottery_sort": "1",
"type": 2
},
{
"lottery_code": "3200",
"lottery_name": "竞足单关",
"status": "1",
"sale_status": "1",
"lottery_pic": "http://php.javaframework.cn/img/lottery/20180225112917_11",
"description": "猜中一场就有奖",
"lottery_time": "1970-01-01",
"lottery_sort": "2",
"type": 2
},
{
"lottery_code": "3100",
"lottery_name": "竞彩篮球",
"status": "1",
"sale_status": "1",
"lottery_pic": "http://php.javaframework.cn/img/lottery/171220030408_lanqiu.gif",
"description": "牛人",
"lottery_time": "1970-01-01",
"lottery_sort": "3",
"type": 2
},
{
"lottery_code": "4001",
"lottery_name": "足球胜负彩",
"status": "1",
"sale_status": "0",
"lottery_pic": "http://php.javaframework.cn/img/lottery/171017053758_ico_shengfucai.png",
"description": "暂停销售",
"lottery_time": "1970-01-01",
"lottery_sort": "5",
"type": 2
},
{
"lottery_code": "4002",
"lottery_name": " 足彩任九场",
"status": "1",
"sale_status": "0",
"lottery_pic": "http://php.javaframework.cn/img/lottery/171017053805_ico_renxuanjiu.png",
"description": "暂停销售",
"lottery_time": "1970-01-01",
"lottery_sort": "6",
"type": 2
},
{
"lottery_code": "1001",
"lottery_name": "双色球",
"status": "1",
"sale_status": "0",
"lottery_pic": "http://php.javaframework.cn/img/lottery/171017053525_ico_shuansgeqiu.png",
"description": "暂停销售",
"lottery_time": "2018-12-16",
"lottery_sort": "7",
"type": 1
},
{
"lottery_code": "2001",
"lottery_name": "超级大乐透",
"status": "1",
"sale_status": "1",
"lottery_pic": "http://php.javaframework.cn/img/lottery/171017053534_ico_daletou.png",
"description": "单注中百万",
"lottery_time": "2018-12-15",
"lottery_sort": "8",
"type": 2
},
{
"lottery_code": "1002",
"lottery_name": "福彩3D",
"status": "1",
"sale_status": "1",
"lottery_pic": "http://php.javaframework.cn/img/lottery/171017053558_ico_fucai3D.png",
"description": "直选加至1300",
"lottery_time": "2018-12-08",
"lottery_sort": "9",
"type": 1
},
{
"lottery_code": "1003",
"lottery_name": "七乐彩",
"status": "1",
"sale_status": "1",
"lottery_pic": "http://php.javaframework.cn/img/lottery/171017053606_ico_qilecai.png",
"description": "单注中大奖",
"lottery_time": "2018-12-12",
"lottery_sort": "10",
"type": 1
},
{
"lottery_code": "2002",
"lottery_name": "排列三",
"status": "1",
"sale_status": "1",
"lottery_pic": "http://php.javaframework.cn/img/lottery/171017053622_ico_pailiesan.png",
"description": "单注赢千元",
"lottery_time": "2018-12-09",
"lottery_sort": "11",
"type": 2
},
{
"lottery_code": "2003",
"lottery_name": "排列五",
"status": "1",
"sale_status": "1",
"lottery_pic": "http://php.javaframework.cn/img/lottery/171017053630_ico_pailiewu.png",
"description": "2元中10万",
"lottery_time": "2018-12-09",
"lottery_sort": "12",
"type": 2
},
{
"lottery_code": "2004",
"lottery_name": "七星彩",
"status": "1",
"sale_status": "1",
"lottery_pic": "http://php.javaframework.cn/img/lottery/171017053637_ico_qixingcai.png",
"description": "2元中500万",
"lottery_time": "2019-12-20",
"lottery_sort": "13",
"type": 2
},
{
"lottery_code": "2005",
"lottery_name": "广东11选5",
"status": "1",
"sale_status": "1",
"lottery_pic": "http://php.javaframework.cn/img/lottery/171017053652_ico_guangdong-11xuan5.png",
"description": "",
"lottery_time": "2018-08-25",
"lottery_sort": "14",
"type": 2
},
{
"lottery_code": "2006",
"lottery_name": "江西11选5",
"status": "1",
"sale_status": "0",
"lottery_pic": "http://php.javaframework.cn/img/lottery/171017054159_ico_jiangxi-11xuan5.png",
"description": "暂停销售",
"lottery_time": "1970-01-01",
"lottery_sort": "15",
"type": 2
},
{
"lottery_code": "2007",
"lottery_name": "山东11选5",
"status": "1",
"sale_status": "1",
"lottery_pic": "http://php.javaframework.cn/img/lottery/171017055059_ico_shandong-11xuan5.png",
"description": "",
"lottery_time": "2018-08-14",
"lottery_sort": "16",
"type": 2
},
{
"lottery_code": "2010",
"lottery_name": "湖北11选5",
"status": "1",
"sale_status": "1",
"lottery_pic": "http://php.javaframework.cn/img/lottery/20180302140454_17",
"description": "",
"lottery_time": "2018-08-25",
"lottery_sort": "17",
"type": 2
},
{
"lottery_code": "2011",
"lottery_name": "福建11选5",
"status": "1",
"sale_status": "0",
"lottery_pic": "http://php.javaframework.cn/img/lottery/20180319164850_10",
"description": "暂停销售",
"lottery_time": "1970-01-01",
"lottery_sort": "18",
"type": 2
},
{
"lottery_code": "5000",
"lottery_name": "北京单场",
"status": "1",
"sale_status": "1",
"lottery_pic": "http://php.javaframework.cn/img/lottery/180126111445_ico_beijingdanchang.png",
"description": "",
"lottery_time": "1970-01-01",
"lottery_sort": "19",
"type": 2
},
{
"lottery_code": "2012",
"lottery_name": "天津11选5",
"status": "1",
"sale_status": "1",
"lottery_pic": "http://php.javaframework.cn/img/lottery/180724094013_5",
"description": "",
"lottery_time": "2018-08-25",
"lottery_sort": "99",
"type": 2
}
]
}
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">groupid</td>
<td style="text-align: left;">int</td>
<td>用户组id,1:超级管理员;2:普通用户</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>