我的
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>用户注册接口 更新于2022-07-17 14:04:45 星期日</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>https://www.linsheapp.com/index/selectUserData</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;">token</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>用户token</td>
</tr>
<tr>
<td style="text-align: left;">user_num</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>用户编号查看指定用户个人资料 不传默认自己</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>查看别人的个人资料
{
"code": 200,
"data": {
"nike_name": "某某某某某",
"sex": 1,
"age": 1,
"height": 160,
"weight": 98,
"career": "计算机/互联网",
"qualifications": "专科",
"logo": "https://qiniu.linsheapp.com/userLogo/62cfe6f7a742f.jpg",
"natives": "重庆",
"reputation": 99,
"invited_times": 9,
"visitors": 36,
"RQCodeUrl": "https://qiniu.linsheapp.com/QRCode/623ab75869ece.jpg",
"login_time": "2022-07-17 12:48:00",
"id": 100543366,
"is_on_line": 0,
"is_oddJob": 1,
"birth_date": "1999-02-15",
"off_line_time": "1小时前",
"user_num": "56539949",
"default_image": "https://qiniu.linsheapp.com/DefaultUserLogo/male.png",
"images": [
{
"id": 492,
"type": 0,
"url": "https://qiniu.linsheapp.com/showSingImages/62aee68ae1ab6.jpg"
},
{
"id": 493,
"type": 1,
"url": "https://qiniu.linsheapp.com/showSingImages/62aee69a886dd.jpg"
},
{
"id": 494,
"type": 2,
"url": "https://qiniu.linsheapp.com/showSingImages/62aee6aaab28f.jpg"
},
{
"id": 495,
"type": 3,
"url": "https://qiniu.linsheapp.com/showSingImages/62aee6bcb4612.jpg"
},
{
"id": 496,
"type": 4,
"url": "https://qiniu.linsheapp.com/showSingImages/62aee6fa3b511.jpg"
},
{
"id": 497,
"type": 5,
"url": "https://qiniu.linsheapp.com/showSingImages/62aee707b6be9.jpg"
},
{
"id": 498,
"type": 6,
"url": "https://qiniu.linsheapp.com/showSingImages/62aee717f23cd.jpg"
},
{
"id": 499,
"type": 7,
"url": "https://qiniu.linsheapp.com/showSingImages/62aee7297c147.jpg"
},
{
"id": 500,
"type": 8,
"url": "https://qiniu.linsheapp.com/showSingImages/62b42b783766c.jpg"
}
],
"phone": "",
"wechat": "",
"is_show_report": 0,
"grade_icon": {
"grade": 33,
"consumption_icon": "https://qiniu.linsheapp.com/GradeIcon/new/31dao35ji%403x.png"
},
"universe_tag": [
{
"tag_id": 631,
"tag_name": "抑郁不是症"
},
{
"tag_id": 638,
"tag_name": "回笼觉教主"
},
{
"tag_id": 749,
"tag_name": "在哪里摔倒就在哪里躺下"
}
],
"is_floating": 1,
"personal_data": [
{
"name": "性别: 男士",
"icon": "https://qiniu.linsheapp.com/xingbie%403x.png"
},
{
"name": "年龄: 23岁",
"icon": "https://qiniu.linsheapp.com/nianling%403x.png"
},
{
"name": "身高: 160厘米",
"icon": "https://qiniu.linsheapp.com/shengao%403x.png"
},
{
"name": "体重: 98斤",
"icon": "https://qiniu.linsheapp.com/tizhong%403x.png"
},
{
"name": "体型: 高大美丽",
"icon": "https://qiniu.linsheapp.com/tixing%403x.png"
},
{
"name": "学历: 专科",
"icon": "https://qiniu.linsheapp.com/xueli%403x.png"
},
{
"name": "职业: 计算机/互联网",
"icon": "https://qiniu.linsheapp.com/zhiye%403x.png"
},
{
"name": "家乡: 重庆",
"icon": "https://qiniu.linsheapp.com/jiaxiang%403x.png"
},
{
"name": "星座: 双子座",
"icon": "https://qiniu.linsheapp.com/xingzuo%403x.png"
}
]
}
}</code></pre>
<pre><code>查看自己的个人资料
{
"code": 200,
"data": {
"user_num": 48505048,
"nike_name": "我很bewildered",
"sex": 2,
"age": 22,
"height": 178,
"weight": 137,
"career": "IT",
"qualifications": "博士",
"logo": "https:\/\/qiniu.linsheapp.com\/showSingLogo\/6231990a7377a.jpg",
"natives": "四川",
"reputation": 94,
"invitation_times": 14,
"visitors": 148,
"is_oddJob": 0,
"RQCodeUrl": "https:\/\/qiniu.linsheapp.com\/QRCode\/61d97dd02ab85.jpg",
"login_time": "2022-03-17 13:26:25",
"is_pc": 1,
"is_business_agents": 1,
"is_mission_director_agents": 1,
"is_boss_privileges": 1,
"has_agreement_signature": 1,
"birth_date": "2000-05-11",
"images": [{
"id": 258,
"type": 0,
"url": "https:\/\/qiniu.linsheapp.com\/showSingImages\/6200e07566295.jpg"
}, {
"id": 259,
"type": 1,
"url": "https:\/\/qiniu.linsheapp.com\/showSingImages\/6200e15307ccc.jpg"
}, {
"id": 260,
"type": 2,
"url": "https:\/\/qiniu.linsheapp.com\/showSingImages\/6200e17b7436b.jpg"
}, {
"id": 261,
"type": 3,
"url": "https:\/\/qiniu.linsheapp.com\/showSingImages\/62134c6aa4663.jpg"
}],
"phone": "17681092019",
"wechat": "LovD1015",
"is_certified": 1,
"is_payment_password": 1,
"default_image": "https://qiniu.linsheapp.com/DefaultUserLogo/male.png",
"regimental_data": {
"name": "普通团长LV.0",
"logo": "https:\/\/qiniu.linsheapp.com\/userDataputongtuanzhang%403x.png",
"text_color": "#0E2342",
"is_scalable": 0,
"is_top": 0
},
"gradeIcon": {
"grade": 44,
"consumption_icon": "https:\/\/qiniu.linsheapp.com\/GradeIcon\/41dao45ji%403x.png"
},
"universe_tag": [{
"tag_id": 222,
"tag_name": "善良的杠精"
}, {
"tag_id": 333,
"tag_name": "热爱纯音乐"
}, {
"tag_id": 444,
"tag_name": "Steam"
}, {
"tag_id": 555,
"tag_name": "古典文学"
}, {
"tag_id": 666,
"tag_name": "因为太帅无法显示"
}, {
"tag_id": 777,
"tag_name": "傻墩墩"
}],
"is_floating": 1,
"personal_data": [{
"name": "性别: 男士",
"icon": "https:\/\/qiniu.linsheapp.com\/xingbie%403x.png"
}, {
"name": "年龄: 21岁",
"icon": "https:\/\/qiniu.linsheapp.com\/nianling%403x.png"
}, {
"name": "身高: 178厘米",
"icon": "https:\/\/qiniu.linsheapp.com\/shengao%403x.png"
}, {
"name": "体重: 137斤",
"icon": "https:\/\/qiniu.linsheapp.com\/tizhong%403x.png"
}, {
"name": "体型: 偏瘦",
"icon": "https:\/\/qiniu.linsheapp.com\/tixing%403x.png"
}, {
"name": "学历: 博士",
"icon": "https:\/\/qiniu.linsheapp.com\/xueli%403x.png"
}, {
"name": "职业: IT",
"icon": "https:\/\/qiniu.linsheapp.com\/zhiye%403x.png"
}, {
"name": "家乡: 四川",
"icon": "https:\/\/qiniu.linsheapp.com\/jiaxiang%403x.png"
}, {
"name": "星座: 金牛座",
"icon": "https:\/\/qiniu.linsheapp.com\/xingzuo%403x.png"
}]
}
}</code></pre>
<h5>返回参数说明</h5>
<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;">code</td>
<td style="text-align: left;">int</td>
<td>200 成功 其他参照code介绍表</td>
</tr>
<tr>
<td style="text-align: left;">data</td>
<td style="text-align: left;">array</td>
<td>数据信息</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>user_num:用户编号</li>
<li>nike_name:昵称</li>
<li>sex:1 女 2 男</li>
<li>logo:用户头像</li>
<li>phone:手机号/账号</li>
<li>height:身高</li>
<li>weight:体重</li>
<li>native:籍贯</li>
<li>age:年龄</li>
<li>career:职业</li>
<li>qualifications:学历</li>
<li>reputation:信誉分</li>
<li>RQCodeUrl:用户二维码URL</li>
<li>images:精选照片</li>
<li>type:放置图片的位置</li>
<li>url:图片地址</li>
<li>gradeIcon:等级图标</li>
<li>grade:等级</li>
<li>consumption_icon:图标地址</li>
<li>visitors:访客</li>
<li>invited_times:零工被邀请次数 零工显示</li>
<li>invitation_times:用户邀请次数 用户显示</li>
<li>regimental_data:团长信息 (name:名称,logo:图片地址,text_color:文字颜色,is_scalable:是否可升级 1 可升级 0 不可升级,is_top:是否为五级 1 是 0 不是)</li>
<li>is_business_agents:1 商家代理 0 不是</li>
<li>is_mission_director_agents: 1 团队代理 0 不是</li>
<li>is_boss_privileges: 1 老板特权 0 不是</li>
<li>is_certified:是否实名认证</li>
<li>is_oddJob: 是否为零工 1 是 0 不是</li>
<li>is_on_line:是否在线 bool 1 在线 0 离线</li>
<li>off_line_time:离线时间 string 直接显示 在线值为0</li>
<li>phone:手机号</li>
<li>wechat:微信号</li>
<li>has_agreement_signature:是否签署过协议</li>
<li>personal_data:个人资料</li>
<li>universe_tag:漂浮弹幕标签{tag_id:标签id tag_name:标签名称}</li>
<li>is_floating:标签弹幕开关 1 开 0 关</li>
<li>is_show_report: 1显示举报按钮 0 不显示</li>
</ul>