竞彩首页---赛果
<p><strong>简要描述:</strong> </p>
<ul>
<li>竞彩首页---赛果接口</li>
</ul>
<p><strong>请求URL:</strong>
-B端 <code>http://xx.com/api/store/store/get-compting</code>
-C端 <code>http://xx.com/api/publicinterface/interface/get-compting</code></p>
<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;">s_date</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>查询日期 (赛果, 赛程)</td>
</tr>
<tr>
<td style="text-align: left;">s_status</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>0:即时 1:赛果 2:赛程 3:关注</td>
</tr>
<tr>
<td style="text-align: left;">league_id</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>查询联赛</td>
</tr>
<tr>
<td style="text-align: left;">page</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>当前页</td>
</tr>
<tr>
<td style="text-align: left;">size</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>当前页显示</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
code:600
msg:&quot;竞彩列表&quot;
result:{
page: 1,
size: 10,
pages: 4,
total: &quot;37&quot;,
data:[
attention:5 // 关注场次数
scheDetail:[
0:{
home_img:&quot;http://static.sporttery.cn/images/2013/08/20/11_2014387731.png&quot; // 主队图片
home_short_name:&quot;波斯波利&quot; // 主队名
home_team_rank:&quot;1&quot; // 主队在联赛排名
league_id:&quot;129&quot; // 所属联赛ID
league_short_name:&quot;亚冠&quot; // 所属联赛名
match_time:null // 比赛进行时间
rq_nums:&quot;-1&quot; // 让球数
schedule_code:&quot;周二003&quot; // 赛程编号
schedule_date:&quot;20170822&quot; // 赛程日
schedule_id:&quot;196&quot; // 赛程Id
schedule_mid:&quot;97143&quot; // 赛程Mid
schedule_result_3007:null // 比分
start_time:&quot;2017-08-23 00:00:00&quot; // 比赛时间
visit_img:&quot;http://static.sporttery.com/images/2013/02/25/10_1109006061.png&quot; // 客队图片
visit_short_name:&quot;吉阿赫利&quot; // 客队名
visit_team_rank:&quot;5&quot; // 客队在联赛排名
}
1:
{schedule_id: &quot;235&quot;, schedule_mid: &quot;97144&quot;, schedule_code: &quot;周二004&quot;, league_id: &quot;192&quot;,…}
2:
{schedule_id: &quot;234&quot;, schedule_mid: &quot;97147&quot;, schedule_code: &quot;周二007&quot;, league_id: &quot;192&quot;,…}
3:{schedule_id: &quot;230&quot;, schedule_mid: &quot;97148&quot;, schedule_code: &quot;周二008&quot;, league_id: &quot;192&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>