lottery

咕啦-彩票系统


球队历史比赛

<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>{ &amp;quot;code&amp;quot;: 600, &amp;quot;msg&amp;quot;: &amp;quot;获取成功&amp;quot;, &amp;quot;result&amp;quot;: { &amp;quot;list&amp;quot;: [ { &amp;quot;schedule_mid&amp;quot;: &amp;quot;642433&amp;quot;, //赛程mid &amp;quot;league_code&amp;quot;: “200”, //联赛code &amp;quot;league_name&amp;quot;: &amp;quot;中足杯&amp;quot;, //联赛名 &amp;quot;play_time&amp;quot;: &amp;quot;2017-08-16 19:35:00&amp;quot;, //比赛时间 &amp;quot;home_team_name&amp;quot;: &amp;quot;上海上港&amp;quot;, //主队名称 &amp;quot;home_team_mid&amp;quot;: &amp;quot;10655&amp;quot;, //主队mid &amp;quot;visit_team_mid&amp;quot;: &amp;quot;6648&amp;quot;, //客队mid &amp;quot;visit_team_name&amp;quot;: &amp;quot;广州恒大&amp;quot;, //客队名称 &amp;quot;result_3007&amp;quot;: &amp;quot;2:1&amp;quot;, //比分 &amp;quot;result_3009_b&amp;quot;: &amp;quot;&amp;quot;, //半场比分 &amp;quot;result_3010&amp;quot;: &amp;quot;0&amp;quot;, //赛果 针对主场 3、胜 1、平 0、负 &amp;quot;result_3010_home&amp;quot;: 3, //赛果针对传值过来的team_mid 3、胜 1、平 0、负 &amp;quot;result_3010_home_name&amp;quot;: &amp;quot;胜&amp;quot; //赛果 针对传值过来的team_mid }, { &amp;quot;schedule_mid&amp;quot;: &amp;quot;539867&amp;quot;, &amp;quot;league_code&amp;quot;: “111”, &amp;quot;league_name&amp;quot;: &amp;quot;中超&amp;quot;, &amp;quot;play_time&amp;quot;: &amp;quot;2017-07-22 19:35:00&amp;quot;, &amp;quot;home_team_name&amp;quot;: &amp;quot;上海上港&amp;quot;, &amp;quot;home_team_mid&amp;quot;: &amp;quot;10655&amp;quot;, &amp;quot;visit_team_mid&amp;quot;: &amp;quot;6648&amp;quot;, &amp;quot;visit_team_name&amp;quot;: &amp;quot;广州恒大&amp;quot;, &amp;quot;result_3007&amp;quot;: &amp;quot;2:2&amp;quot;, &amp;quot;result_3009_b&amp;quot;: &amp;quot;0:0&amp;quot;, &amp;quot;result_3010&amp;quot;: &amp;quot;1&amp;quot;, &amp;quot;result_3010_home&amp;quot;: 1, &amp;quot;result_3010_home_name&amp;quot;: &amp;quot;平&amp;quot; } ], &amp;quot;num_3&amp;quot;: 0, //胜场次 主场 &amp;quot;num_1&amp;quot;: 0, //平场次 `主场 &amp;quot;num_0&amp;quot;: 2, //负场次 主场 &amp;quot;num_home_3&amp;quot;: 1, //胜场次 针对传值过来的team_mid &amp;quot;num_home_1&amp;quot;: 1, //平场次 针对传值过来的team_mid &amp;quot;num_home_0&amp;quot;: 0, //负场次 针对传值过来的team_mid &amp;quot;count&amp;quot;: 2 //总场次 } }</code></pre> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML