对战类型
<p><strong>简要描述:</strong> </p>
<ul>
<li>用户注册接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/adyx_api/gameFightType/getFightTypeByGame</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>GET </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;">gameId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">Integer</td>
<td>游戏ID</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
&quot;code&quot;: 0,
&quot;data&quot;: {
&quot;fightTypeId&quot;: &quot;1&quot;,
&quot;fightType&quot;: {
&quot;name&quot;:&quot;四排&quot;,
&quot;imagePath&quot;:&quot;http://xx.com/adyx_api/image/xx.png&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;">fightTypeId</td>
<td style="text-align: left;">int</td>
<td>对战类型ID</td>
</tr>
<tr>
<td style="text-align: left;">fightType.name</td>
<td style="text-align: left;">String</td>
<td>对战类型名称</td>
</tr>
<tr>
<td style="text-align: left;">fightType.imagePath</td>
<td style="text-align: left;">String</td>
<td>对应图片</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>