lottery

咕啦-彩票系统


投注赛程

<p><strong>简要描述:</strong> </p> <ul> <li>用户注册接口</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://xx.com/api/publicinterface/interface/optional-schedule</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> </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;all_periods&amp;quot;: ['17131','17132'] &amp;quot;ft_sche&amp;quot;: [ 0:{ &amp;quot;game&amp;quot;: [ 0:{ &amp;quot;periods&amp;quot;: &amp;quot;17131&amp;quot;, // 所属期数 &amp;quot;beginsale_time&amp;quot;: &amp;quot;2017-09-10 20:00:00&amp;quot;, // 开售时间 &amp;quot;endsale_time&amp;quot;: &amp;quot;2017-09-12 23:00:00&amp;quot;, // 停售时间 &amp;quot;schedule_mid&amp;quot;: &amp;quot;98047&amp;quot;, // 赛程MID &amp;quot;schedule_code&amp;quot;: &amp;quot;周三004&amp;quot;, // 赛程编号 &amp;quot;league_id&amp;quot;: &amp;quot;210&amp;quot;, /// 联赛ID &amp;quot;schedule_date&amp;quot;: &amp;quot;20170913&amp;quot;, // 所属赛程日 &amp;quot;visit_short_name&amp;quot;: &amp;quot;塞维利亚&amp;quot;, // 客队名 &amp;quot;home_short_name&amp;quot;: &amp;quot;利物浦&amp;quot;, // 主队名 &amp;quot;start_time&amp;quot;: &amp;quot;2017-09-14 02:45:00&amp;quot;, // 比赛开始时间 &amp;quot;league_short_name&amp;quot;: &amp;quot;欧冠&amp;quot; // 联赛名 }, { &amp;quot;periods&amp;quot;: &amp;quot;17131&amp;quot;, &amp;quot;beginsale_time&amp;quot;: &amp;quot;2017-09-10 20:00:00&amp;quot;, &amp;quot;endsale_time&amp;quot;: &amp;quot;2017-09-12 23:00:00&amp;quot;, &amp;quot;schedule_mid&amp;quot;: &amp;quot;98054&amp;quot;, &amp;quot;schedule_code&amp;quot;: &amp;quot;周三011&amp;quot;, &amp;quot;league_id&amp;quot;: &amp;quot;210&amp;quot;, &amp;quot;schedule_date&amp;quot;: &amp;quot;20170913&amp;quot;, &amp;quot;visit_short_name&amp;quot;: &amp;quot;多特蒙德&amp;quot;, &amp;quot;home_short_name&amp;quot;: &amp;quot;热刺&amp;quot;, &amp;quot;start_time&amp;quot;: &amp;quot;2017-09-14 02:45:00&amp;quot;, &amp;quot;league_short_name&amp;quot;: &amp;quot;欧冠&amp;quot; } ], &amp;quot;periods&amp;quot;: &amp;quot;17131&amp;quot;, // 期数 &amp;quot;beginsale_time&amp;quot;: &amp;quot;2017-09-10 20:00:00&amp;quot;, // 开售时间 &amp;quot;endsale_time&amp;quot;: &amp;quot;2017-09-12 23:00:00&amp;quot; // 停售时间 }, 1:{ &amp;quot;game&amp;quot;: [ { &amp;quot;periods&amp;quot;: &amp;quot;17132&amp;quot;, &amp;quot;beginsale_time&amp;quot;: &amp;quot;2017-09-10 20:00:00&amp;quot;, &amp;quot;endsale_time&amp;quot;: &amp;quot;2017-09-14 23:00:00&amp;quot;, &amp;quot;schedule_mid&amp;quot;: null, &amp;quot;schedule_code&amp;quot;: null, &amp;quot;league_id&amp;quot;: null, &amp;quot;schedule_date&amp;quot;: null, &amp;quot;visit_short_name&amp;quot;: null, &amp;quot;home_short_name&amp;quot;: null, &amp;quot;start_time&amp;quot;: null, &amp;quot;league_short_name&amp;quot;: null } ], &amp;quot;periods&amp;quot;: &amp;quot;17132&amp;quot;, &amp;quot;beginsale_time&amp;quot;: &amp;quot;2017-09-10 20:00:00&amp;quot;, &amp;quot;endsale_time&amp;quot;: &amp;quot;2017-09-14 23:00:00&amp;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> <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