获取用户基础信息
<p><strong>简要描述:</strong> </p>
<ul>
<li>获取用户基础信息接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/api/user/user/get-user-data</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </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;">token</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>token</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
"code": 600,
"msg": "获取成功",
"result": {
"cust_no": "TD100002", // 用户编号
"user_tel": "18950475114", // 用户手机号
"user_name": "空白", // 用户昵称
"third_name": "空白", // 第三方用户名
"third_icon": "http://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTLugjfbBdFJKDKwpkjgVPGic37PFSjA83td9QTI3Zx1Xk57ftT4mWpxu3WCFesVib8dUumYFFGwBU7A/132",//第三方头像
"all_funds": "0.00", // 总余额
"able_funds": "0.00", //可用余额
"ice_funds": "0.00", // 冻结余额
"ali_account": "luoljlj@163.com", //支付宝账号
"wx_account": "", // 微信账号
"bank_account": "" //银行卡号
}
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">groupid</td>
<td style="text-align: left;">int</td>
<td>用户组id,1:超级管理员;2:普通用户</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>