获取用户信息
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://gaokao.douyinhot.com/api.html</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;">method</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>死值:user.info</td>
</tr>
<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>需要判断用is_go字段判断合作伙伴是否入住成功</p>
<p><strong>返回示例</strong></p>
<pre><code>{
"status": true,
"data": {
"id": 311,
"username": "",
"password": "a2b716df03fb59d60e1e2371dcfeebcc",
"role": 1,//1普通用户 2代理老师 1国内老师 4国外老师
"is_teacher": 1,
"explain": "",
"is_type": 0,
"mobile": "15530705770",
"jpush_user": "15530705770",
"money": "0.00",
"dong_money": "0.00",
"integral": "0.00",
"share_code": "9c9e1a",
"shared_code": "",
"school_id": "",
"status": 1,
"apply_parents": 0,
"portrait": "",
"realname": "",
"nikename": "",
"qiye_name": "",
"province_id": "",
"sex": 1,
"grade": "",
"education": "",
"is_message": "",
"email": "",
"arttype": "",
"id_card": "",
"addr": "",
"id_card_img_on": "",
"id_card_img_under": "",
"is_money": "0.00",
"is_validity": "",
"is_go": 1,
"is_go_reason": "",
"is_del": 1,
"ctime": 1593424926,
"utime": "",
"delete_time": "",
"qiye_info": "",
"mobile_apply": "",
"id_card_apply": "",
"id_card_img_on_apply": "",
"id_card_img_under_apply": "",
"share": "",
"vip_endtime": 0,
"session_key": "",
"openid": "",
"type": "",
"wxpass": "",
"province": "",
"achievement": {
"id": 641,
"user_id": 311,
"type": 1,
"provinceid": 110000,
"province_list": 635,
"new1": 1,
"total": 350,
"total_line": 0,
"line": 300,
"major_total": 250,
"major_line": 0,
"special_total": 200,
"art_type": 1227,
"subjects": "0,2,5",
"achievements": "",
"special_type": 0,
"line_type": "艺术本科B段理",
"test_type": 1,
"ids": "",
"add_score": 0,
"art_name": "美术类"
},
"resume": {
"reward": [],
"educationlist": [
{
"id": 11,
"resumeid": "",
"type": 1,
"school_name": "啦啦啦",
"start_date": "0000-00-00 00:00:00",
"end_date": "0000-00-00 00:00:00"
},
{
"id": 12,
"resumeid": "",
"type": 1,
"school_name": "啦啦啦123",
"start_date": "0000-00-00 00:00:00",
"end_date": "0000-00-00 00:00:00"
},
{
"id": 19,
"resumeid": "",
"type": 1,
"school_name": "朝阳小学",
"start_date": "2013-04",
"end_date": "2019-04"
},
{
"id": 20,
"resumeid": "",
"type": 1,
"school_name": "朝阳小学",
"start_date": "2008-04",
"end_date": "2016-01"
},
{
"id": 21,
"resumeid": "",
"type": 1,
"school_name": "小学教育",
"start_date": "2013-04",
"end_date": "2015-04"
},
{
"id": 22,
"resumeid": "",
"type": 1,
"school_name": "小学教育",
"start_date": "2015-04",
"end_date": "2017-01"
},
{
"id": 23,
"resumeid": "",
"type": 2,
"school_name": "初中教育",
"start_date": "2015-04",
"end_date": "2017-04"
},
{
"id": 24,
"resumeid": "",
"type": 3,
"school_name": "高中教育",
"start_date": "2016-04",
"end_date": "2017-04"
}
],
"languagelist": [
{
"id": 4,
"resumeid": "",
"name": "日语",
"grade": "三级",
"image": "http://gaokaoimg.douyinhot.com/_static_uploads_images_2020_04_11_15865917185e9177e671840.jpg",
"user_id": 36
},
{
"id": 5,
"resumeid": "",
"name": "哦哦哦",
"grade": "题库",
"image": "http://gaokaoimg.douyinhot.com/_static_uploads_images_2020_04_11_15865918435e9178637cab1.png",
"user_id": 36
}
]
}
},
"msg": "获取成功"
}</code></pre>