球队历史比赛
<p><strong>简要描述:</strong> </p>
<ul>
<li>球队历史比赛</li>
</ul>
<p><strong>请求URL:</strong>
-C端 <code>http://xx.com/api/publicinterface/interface/history-match</code>
-B端 <code>http://xx.com/api/store/store/history-match</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;">schedule_mid</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>赛程mid</td>
</tr>
<tr>
<td style="text-align: left;">team_mid</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>球队mid</td>
</tr>
<tr>
<td style="text-align: left;">team_type</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">integer</td>
<td>主客场 1、主场 2、客场 其他(未定义,空,其他值)、全部</td>
</tr>
<tr>
<td style="text-align: left;">same_league</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">integer</td>
<td>联赛 1、同联赛 其他 (未定义,空,其他值)、全部联赛</td>
</tr>
<tr>
<td style="text-align: left;">size</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">integer</td>
<td>默认10条记录</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;code&quot;: 600,
&quot;msg&quot;: &quot;获取成功&quot;,
&quot;result&quot;: {
&quot;list&quot;: [
{
&quot;schedule_mid&quot;: &quot;642433&quot;, //赛程mid
&quot;league_code&quot;: “200”, //联赛code
&quot;league_name&quot;: &quot;中足杯&quot;, //联赛名
&quot;play_time&quot;: &quot;2017-08-16 19:35:00&quot;, //比赛时间
&quot;home_team_name&quot;: &quot;上海上港&quot;, //主队名称
&quot;home_team_mid&quot;: &quot;10655&quot;, //主队mid
&quot;visit_team_mid&quot;: &quot;6648&quot;, //客队mid
&quot;visit_team_name&quot;: &quot;广州恒大&quot;, //客队名称
&quot;result_3007&quot;: &quot;2:1&quot;, //比分
&quot;result_3009_b&quot;: &quot;&quot;, //半场比分
&quot;result_3010&quot;: &quot;0&quot;, //赛果 针对主场 3、胜 1、平 0、负
&quot;result_3010_home&quot;: 3, //赛果针对传值过来的team_mid 3、胜 1、平 0、负
&quot;result_3010_home_name&quot;: &quot;胜&quot; //赛果 针对传值过来的team_mid
},
{
&quot;schedule_mid&quot;: &quot;539867&quot;,
&quot;league_code&quot;: “111”,
&quot;league_name&quot;: &quot;中超&quot;,
&quot;play_time&quot;: &quot;2017-07-22 19:35:00&quot;,
&quot;home_team_name&quot;: &quot;上海上港&quot;,
&quot;home_team_mid&quot;: &quot;10655&quot;,
&quot;visit_team_mid&quot;: &quot;6648&quot;,
&quot;visit_team_name&quot;: &quot;广州恒大&quot;,
&quot;result_3007&quot;: &quot;2:2&quot;,
&quot;result_3009_b&quot;: &quot;0:0&quot;,
&quot;result_3010&quot;: &quot;1&quot;,
&quot;result_3010_home&quot;: 1,
&quot;result_3010_home_name&quot;: &quot;平&quot;
}
],
&quot;num_3&quot;: 0, //胜场次 主场
&quot;num_1&quot;: 0, //平场次 `主场
&quot;num_0&quot;: 2, //负场次 主场
&quot;num_home_3&quot;: 1, //胜场次 针对传值过来的team_mid
&quot;num_home_1&quot;: 1, //平场次 针对传值过来的team_mid
&quot;num_home_0&quot;: 0, //负场次 针对传值过来的team_mid
&quot;count&quot;: 2 //总场次
}
}</code></pre>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>