lottery

咕啦-彩票系统


可投注赛程接口

<p><strong>简要描述:</strong> </p> <ul> <li>可投注赛程接口</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li>` <a href="http://xx.com/api//publicinterface/interface/bet-game">http://xx.com/api//publicinterface/interface/bet-game</a> <strong>请求方式:</strong></li> <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>彩种code</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code> code:600 msg:&amp;quot;可投注赛程&amp;quot; result:[ { game:{ 0:{ beginsale_time:null //开售时间 create_time:null endsale_time:&amp;quot;2017-06-14 15:17:20&amp;quot; //停售时间 home_team:&amp;quot;福冈黄蜂&amp;quot; //主场队名 home_team_id:&amp;quot;5&amp;quot; // 主场ID league_id:&amp;quot;6&amp;quot; //联赛ID league_short_name:&amp;quot;欧冠&amp;quot; // 联赛简称 modify_time:null opt_id:&amp;quot;0&amp;quot; periods:&amp;quot;17080&amp;quot; //期数 schedule_bf:&amp;quot;2&amp;quot; //比分 (1:仅过关 2: 单场 + 过关) schedule_bqcspf:&amp;quot;2&amp;quot; // 半全场胜平负 (1:仅过关 2: 单场 + 过关) schedule_code:&amp;quot;周一001&amp;quot; // 赛程编号 schedule_id:&amp;quot;12&amp;quot; schedule_mid:&amp;quot;170612001&amp;quot; //赛程唯一编码 schedule_rqspf:&amp;quot;2&amp;quot; // 让球胜平负 (1:仅过关 2: 单场 + 过关) schedule_spf:&amp;quot;2&amp;quot; // 胜平负 (1:仅过关 2: 单场 + 过关) schedule_status:&amp;quot;1&amp;quot; schedule_zjqs:&amp;quot;2&amp;quot; // 进球 (1:仅过关 2: 单场 + 过关) start_time:&amp;quot;2017-06-14 15:27:20&amp;quot; //比赛时间 update_time:&amp;quot;2017-06-12 08:16:09&amp;quot; url:null visit_team:&amp;quot;奥术大师&amp;quot; // 客场队名 visit_team_id:&amp;quot;4&amp;quot; //客场ID xx_odds:{let_ball_nums: &amp;quot;-1&amp;quot;, let_wins: &amp;quot;5.00&amp;quot;, let_level: &amp;quot;3.00&amp;quot;, let_negative: &amp;quot;1.00&amp;quot;} // 玩法赔率 high_win_status:&amp;quot;0&amp;quot; // 是否高中奖 0:不是 1:是 hot_status:&amp;quot;0&amp;quot; // 是否热门 0:不是 1:是 } game_date : 2017-06-14 //比赛日期 field_num:4, // 有几场比赛 week : 周几 }</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>

页面列表

ITEM_HTML