获取账户和斗鸡余额接口
<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/CockFighting/balance</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>{
"code": 0,
"msg": 2006,
"balance": "0.0000", // 斗鸡额度
"currency": "9909931.50" // 彩票额度
}</code></pre>
<pre><code>{
"code": 0,
"msg": 7001,
"info": "余额获取失败,请稍后重试!"
}</code></pre>
<p><strong>备注</strong></p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>