基本信息
<p>样式可参考设备管理中的学校详情,上边展示“用户基础信息”,下边展示各列表情况
<img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=e2c045a6ea77cee133155aab315aecc8&amp;file=file.png" alt="" />
列表排序和名称依次为:登录记录、搜索记录、收藏记录、点赞记录、浏览记录-学习机、购课记录-App、学习记录-App、购物车情况、购买情况、排课记录、学习记录-学习机</p>
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>用户数据查询--基本信息</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>user_data/user_info</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>参数</h5>
<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;">user_id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>用户id</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
&quot;code&quot;: 200,
&quot;msg&quot;: &quot;ok!&quot;,
&quot;data&quot;: {
&quot;id&quot;: 1, // 用户ID
&quot;user_name&quot;: &quot;于是&quot;, // 用户昵称
&quot;mobile&quot;: &quot;18310041723&quot;, // 手机号
&quot;create_time&quot;: 1739180179, // 注册时间
&quot;study_create_time&quot;: 1751956994, // 学习机激活时间
&quot;account_type&quot;: 1, // 用户类型:1=个人,2=学校
&quot;status&quot;: 1, // 用户状态:,0=冻结,1=正常,2=注销
&quot;attention_num&quot;: 1, // 关注数
&quot;fans_num&quot;: 3, // 粉丝数
&quot;data_num&quot;: 3, // 动态数
&quot;lately_td&quot;: 0, // 今天是否活跃:1=是,0=否
&quot;lately_sd&quot;: 0, // 7天内是否活跃:1=是,0=否
&quot;lately_md&quot;: 0, // 30天内是否活跃:1=是,0=否
&quot;expend_device&quot;: 1, // 购买设备台数
&quot;expend_app&quot;: 0, // App总消费金额
&quot;expend_study&quot;: 398 // 学习机总消费金额
}
}</code></pre>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>