获取特色游戏余额
<p><strong>简要描述:</strong> </p>
<ul>
<li>获取特色游戏余额</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xxx.xxx.com/user/get_money_change_object</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;">type</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>0=不获取特色游戏余额,所有余额为0,1=获取特色游戏余额。默认传0</td>
</tr>
<tr>
<td style="text-align: left;">gameCode</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>特色游戏的gameCode,当传递次参数之后,只获取相对应的游戏余额,彩票的gameCode=0,其余为特色游戏gameCode</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>//成功
{
"code": 0,
"msg": 2006,
"data": {
//彩票游戏信息
"cp": {
"game_code": "0", //游戏game_code
"name": "彩票游戏", //游戏名称
"url": "https://www.xxx.com/tongyong/201811/money_change_ag.png", //图标 icon 路径
"m_url": "https://www.xxx.com/getinfo/money", //获取余额路由
"c_url": "http://www.xxx.com/aginfo/agQuotaConversion", //额度转换路由
"money": 0 //余额
},
"item_game": [
{
"game_code": "1",//游戏game_code
"name": "真人视讯", //游戏名称
"url": "https://www.xxx.com/tongyong/201811/money_change_ag.png",//图标 icon 路径
"m_url": "https://www.xxx.com/aginfo/getAgInfo", //获取余额路由
"c_url": "", //额度转换路由
"money": 0 //余额
},
{
"game_code": "4",
"name": "体育游戏",
"url": "https://www.xxx.com/tongyong/201811/money_change_sport.png",
"m_url": "https://www.xxx.com/user/getSportsBalance",
"c_url": "",
"money": 0
}...
]
}
}
//失败
{
"code": 1,
"msg": 7001,
}</code></pre>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>