lottery

咕啦-彩票系统


获取可投注球队

<p><strong>简要描述:</strong> </p> <ul> <li>获取可投注球队接口</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://xx.com/api/competing/worldcup/get-wc-team</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;">lottery_code</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>投注彩种 301201 竞彩冠军 301301 竞彩亚军</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code> { &amp;quot;code&amp;quot;: 600, &amp;quot;msg&amp;quot;: &amp;quot;获取成功&amp;quot;, &amp;quot;result&amp;quot;: [ { &amp;quot;open_mid&amp;quot;: &amp;quot;01&amp;quot;, // 投注序号 &amp;quot;home_code&amp;quot;: &amp;quot;0&amp;quot;, // 球队编号 &amp;quot;home_name&amp;quot;: &amp;quot;巴西&amp;quot;, // 球队名 &amp;quot;home_img&amp;quot;: &amp;quot;http://static.sporttery.cn/sinaimg/football/wcp2018/417.png&amp;quot;, // 球队图片 &amp;quot;visit_code&amp;quot;: &amp;quot;0&amp;quot;, //球队编号 &amp;quot;visit_name&amp;quot;: &amp;quot;德国&amp;quot;, // 球队名 &amp;quot;visit_img&amp;quot;: &amp;quot;http://static.sporttery.cn/sinaimg/football/wcp2018/417.png&amp;quot;, // 球队图片 &amp;quot;team_odds&amp;quot;: &amp;quot;7.00&amp;quot;, // 赔率 &amp;quot;team_chance&amp;quot;: &amp;quot;8.12&amp;quot;, // 中奖概率 &amp;quot;status&amp;quot;: &amp;quot;1&amp;quot; // 在售状态 1:在售 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>

页面列表

ITEM_HTML