球队基础信息
<p><strong>简要描述:</strong> </p>
<ul>
<li>球队基础信息接入</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/api/cron/data/team-info-data</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>
<tr>
<td style="text-align: left;">data</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">json</td>
<td>数据</td>
</tr>
</tbody>
</table>
<p><strong>参数示例:</strong> </p>
<pre><code>{
"data": [
{
"data_type": "1", //数据源
"team_code": "11", //球队ID
"league_code": 128, // 所属联赛ID
"league_name":西甲 //所属联赛名
"long_name":"皇家马德里",// 球队全称
"short_name":"皇马" //球队简称
"team_img":"xxxxxxxxxxxxx",//球队图片
"setup_time":"1880-01-01" //成立日期
"home_city":"马德里"//主场城市
"home_court":"马德里竞技体育场"//主场球场
"ranking":1 // 积分排名
"team_intro": "xxxxxxxxxxxxxxx" // 球队简介
}
]
}</code></pre>
<p><strong>返回示例</strong></p>
<pre><code> {
“code”:600,
"msg":"球队基础信息处理成功",
"result":""
}</code></pre>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>