获取账户和AG余额
<p><strong>简要描述:</strong> </p>
<ul>
<li>获取账户和AG余额接口</li>
</ul>
<p><strong>说明:</strong></p>
<ul>
<li>新注册的会员和没有玩过AG游戏的会员,需要先进行AG额度转换才可以查询额度和进入游戏</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/aginfo/getAgInfo</code></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>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
//成功
&quot;code&quot;: 1,
&quot;msg&quot;: 2006,
&quot;info&quot;: &quot;success&quot;,
&quot;balance&quot;: {
&quot;userBalance&quot;: &quot;120.00&quot;, //账户余额
&quot;agBalance&quot;: &quot;30.00&quot; //AG余额 如果=-1 可能是没有充值过AG游戏或者线路问题
}
//失败
&quot;code&quot;:&quot;1&quot;,
&quot;msg&quot;:&quot;7001&quot;,
&quot;info&quot;:&quot;获取真人游戏额度失败&quot;
}</code></pre>
<p><strong>备注</strong></p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>