API

凤凰投注开放其他


获取账户和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>{ //成功 &amp;quot;code&amp;quot;: 1, &amp;quot;msg&amp;quot;: 2006, &amp;quot;info&amp;quot;: &amp;quot;success&amp;quot;, &amp;quot;balance&amp;quot;: { &amp;quot;userBalance&amp;quot;: &amp;quot;120.00&amp;quot;, //账户余额 &amp;quot;agBalance&amp;quot;: &amp;quot;30.00&amp;quot; //AG余额 如果=-1 可能是没有充值过AG游戏或者线路问题 } //失败 &amp;quot;code&amp;quot;:&amp;quot;1&amp;quot;, &amp;quot;msg&amp;quot;:&amp;quot;7001&amp;quot;, &amp;quot;info&amp;quot;:&amp;quot;获取真人游戏额度失败&amp;quot; }</code></pre> <p><strong>备注</strong></p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML