获取网狐额度接口
<p><strong>简要描述:</strong> </p>
<ul>
<li>获取账户网狐棋牌额度接口</li>
</ul>
<p><strong>说明:</strong></p>
<ul>
<li>新注册的会员和没有玩过WH游戏的会员访问此接口将自动注册到网狐棋牌,可以查询额度和进入游戏</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/Wh_H5_Api/getWhInfo</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>
<tr>
<td style="text-align: left;">currency</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>货币:不传默认1为金币,0钻石(暂时不使用)</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;whBalance&quot;: &quot;30.00&quot; //WH余额 如果=0.00 可能是网狐棋牌线路问题
}
//失败
&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>