获取彩种
<p><strong>简要描述:</strong> </p>
<ul>
<li>C端获取彩种接口</li>
</ul>
<p><strong>请求URL:</strong>
-C端 <code>http://xx.com/api/publicinterface/interface/get-lottery</code>
-B端 <code>http://xx.com/api/store/store/get-lottery</code><br />
<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>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
code:600
msg:&quot;获取成功&quot;
result:{
data:{
0:{
description:&quot;&quot; // 描述
lottery_code:&quot;1001&quot; // 彩种编码
lottery_name:&quot;双色球&quot; // 彩种名
lottery_pic:&quot;http://php.javaframework.cn/img/lottery/170711032427_ico_shuangseqiu.png&quot; // 彩种图片
status:&quot;1&quot; // 是否启用
sale_status:&quot;1&quot; // 是否开售 1:开售 0:停售
1:{lottery_code: &quot;1002&quot;, lottery_name: &quot;福彩3D&quot;, status: &quot;1&quot;,…}
2:{lottery_code: &quot;1003&quot;, lottery_name: &quot;七乐彩&quot;, status: &quot;1&quot;,…}
3:{lottery_code: &quot;2001&quot;, lottery_name: &quot;超级大乐透&quot;, status: &quot;1&quot;,…}
4:{lottery_code: &quot;2002&quot;, lottery_name: &quot;排列三&quot;, status: &quot;1&quot;,…}
5:{lottery_code: &quot;2003&quot;, lottery_name: &quot;排列五&quot;, status: &quot;1&quot;,…}
6:{lottery_code: &quot;2004&quot;, lottery_name: &quot;七星彩&quot;, status: &quot;1&quot;,…}
13:{lottery_code: &quot;4001&quot;, lottery_name: &quot;足球胜负彩&quot;, status: &quot;1&quot;,…}
14:{lottery_code: &quot;4002&quot;, lottery_name: &quot; 足彩任九场&quot;, status: &quot;1&quot;,…}
15:{lottery_pic: &quot;http://php.javaframework.cn/img/lottery/170710041831_ico_jingcaizuqiu.png&quot;,…}
}</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>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>