获取游戏类型(筛选条件)
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>获取游戏类型</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://xx.com/app/game/getgametype</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>参数</h5>
<h5>返回示例</h5>
<pre><code> {&quot;code&quot;:1,
&quot;msg&quot;:&quot;请求成功&quot;,
&quot;data&quot;:[
{&quot;id&quot;:&quot;1&quot;,&quot;name&quot;:&quot;动作&quot;,&quot;key&quot;:&quot;Action&quot;},
{&quot;id&quot;:&quot;2&quot;,&quot;name&quot;:&quot;冒险&quot;,&quot;key&quot;:&quot;Adventure&quot;},
{&quot;id&quot;:&quot;3&quot;,&quot;name&quot;:&quot;大型多人在线&quot;,&quot;key&quot;:&quot;Massively Multiplayer&quot;},
{&quot;id&quot;:&quot;4&quot;,&quot;name&quot;:&quot;角色扮演&quot;,&quot;key&quot;:&quot;RPG&quot;},
{&quot;id&quot;:&quot;5&quot;,&quot;name&quot;:&quot;免费开完&quot;,&quot;key&quot;:&quot;Free to Play&quot;},
{&quot;id&quot;:&quot;6&quot;,&quot;name&quot;:&quot;策略&quot;,&quot;key&quot;:&quot;Strategy&quot;},
{&quot;id&quot;:&quot;7&quot;,&quot;name&quot;:&quot;模拟&quot;,&quot;key&quot;:&quot;Simulation&quot;},
{&quot;id&quot;:&quot;8&quot;,&quot;name&quot;:&quot;抢先体验&quot;,&quot;key&quot;:&quot;Early Access&quot;}
]
}</code></pre>
<h5>返回参数说明</h5>
<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;">name</td>
<td style="text-align: left;">string</td>
<td>显示名称</td>
</tr>
<tr>
<td style="text-align: left;">key</td>
<td style="text-align: left;">string</td>
<td>返回服务端值</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>