投注赛程
<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> {
&quot;code&quot;: 600,
&quot;msg&quot;: &quot;获取成功&quot;,
&quot;result&quot;: {
&quot;all_periods&quot;: ['17131','17132']
&quot;ft_sche&quot;: [
0:{
&quot;game&quot;: [
0:{
&quot;periods&quot;: &quot;17131&quot;, // 所属期数
&quot;beginsale_time&quot;: &quot;2017-09-10 20:00:00&quot;, // 开售时间
&quot;endsale_time&quot;: &quot;2017-09-12 23:00:00&quot;, // 停售时间
&quot;schedule_mid&quot;: &quot;98047&quot;, // 赛程MID
&quot;schedule_code&quot;: &quot;周三004&quot;, // 赛程编号
&quot;league_id&quot;: &quot;210&quot;, /// 联赛ID
&quot;schedule_date&quot;: &quot;20170913&quot;, // 所属赛程日
&quot;visit_short_name&quot;: &quot;塞维利亚&quot;, // 客队名
&quot;home_short_name&quot;: &quot;利物浦&quot;, // 主队名
&quot;start_time&quot;: &quot;2017-09-14 02:45:00&quot;, // 比赛开始时间
&quot;league_short_name&quot;: &quot;欧冠&quot; // 联赛名
},
{
&quot;periods&quot;: &quot;17131&quot;,
&quot;beginsale_time&quot;: &quot;2017-09-10 20:00:00&quot;,
&quot;endsale_time&quot;: &quot;2017-09-12 23:00:00&quot;,
&quot;schedule_mid&quot;: &quot;98054&quot;,
&quot;schedule_code&quot;: &quot;周三011&quot;,
&quot;league_id&quot;: &quot;210&quot;,
&quot;schedule_date&quot;: &quot;20170913&quot;,
&quot;visit_short_name&quot;: &quot;多特蒙德&quot;,
&quot;home_short_name&quot;: &quot;热刺&quot;,
&quot;start_time&quot;: &quot;2017-09-14 02:45:00&quot;,
&quot;league_short_name&quot;: &quot;欧冠&quot;
}
],
&quot;periods&quot;: &quot;17131&quot;, // 期数
&quot;beginsale_time&quot;: &quot;2017-09-10 20:00:00&quot;, // 开售时间
&quot;endsale_time&quot;: &quot;2017-09-12 23:00:00&quot; // 停售时间
},
1:{
&quot;game&quot;: [
{
&quot;periods&quot;: &quot;17132&quot;,
&quot;beginsale_time&quot;: &quot;2017-09-10 20:00:00&quot;,
&quot;endsale_time&quot;: &quot;2017-09-14 23:00:00&quot;,
&quot;schedule_mid&quot;: null,
&quot;schedule_code&quot;: null,
&quot;league_id&quot;: null,
&quot;schedule_date&quot;: null,
&quot;visit_short_name&quot;: null,
&quot;home_short_name&quot;: null,
&quot;start_time&quot;: null,
&quot;league_short_name&quot;: null
}
],
&quot;periods&quot;: &quot;17132&quot;,
&quot;beginsale_time&quot;: &quot;2017-09-10 20:00:00&quot;,
&quot;endsale_time&quot;: &quot;2017-09-14 23:00:00&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>