获取赔率二
<p><strong>简要描述:</strong> </p>
<ul>
<li>获取赔率接口二</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/getinfo/getAllOdds</code></li>
</ul>
<p><strong>说明:</strong></p>
<ul>
<li>此接口可获取某个彩种的所有赔率</li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST Content-Type: application/json;charset=utf-8</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;">oid</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>用户认证密钥</td>
</tr>
<tr>
<td style="text-align: left;">game_code</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>彩种代码(详情见游戏代号目录)</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;lmp&quot;: [ //两面盘
{
&quot;name&quot;: &quot;第一球&quot;,
&quot;list&quot;: [
{
&quot;name&quot;: &quot;大&quot;,
&quot;odds&quot;: &quot;1.99&quot;,
&quot;key&quot;: &quot;ip_1000_1005&quot;
},
{
&quot;name&quot;: &quot;小 &quot;,
&quot;odds&quot;: &quot;1.99&quot;,
&quot;key&quot;: &quot;ip_1000_1006&quot;
},
{
&quot;name&quot;: &quot;单&quot;,
&quot;odds&quot;: &quot;1.99&quot;,
&quot;key&quot;: &quot;ip_1000_1007&quot;
},
{
&quot;name&quot;: &quot;双&quot;,
&quot;odds&quot;: &quot;1.99&quot;,
&quot;key&quot;: &quot;ip_1000_1008&quot;
}
],...
},...
} </code></pre>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>