用户已经登录过,使用Access-token时用此接口可直接获取到用户信息。
请求例子:
apirq('user/lguser')
返回数据结果:
{
"code": 0,
"msg": "ok",
"time": "1523355199",
"data": {
"uid": "0000000000000001",
"code": "U1000000",
"utype": 1,
"orgid": "1000000000000000",
"username": "administrator",
"status": 1,
"nickname": "超级管理员",
"head": "234d65df86fecb79",
"sex": 1,
"email": "549042814@qq.com",
"mobile": "18200509877",
"tel": "",
"invite_code": "CF2678CC",
"invite_code_from": "",
"reg_ip": "127.0.0.1",
"reg_time": "2017-01-12 15:58:12",
"login": 216,
"last_login_ip": "127.0.0.1",
"last_login_time": "2018-04-10 10:19:24",
"realname": "超级管理员",
"realname_initials": "",
"birthday": "",
"qq": "",
"ua": "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36",
"remark": "",
"orginfo": {
"sys_id": "1000000000000000",
"code": "S100000000",
"country_id": 1,
"province_id": 2,
"city_id": 2,
"district_id": 3,
"street_id": 1,
"lng": "2.000000",
"lat": "3.000000",
"name": "系统",
"initials": "xt",
"english_name": "system",
"address": "成都",
"contacts": "邓",
"mobile": "13212345678",
"tel": "",
"fax": "",
"email": "",
"cover": "",
"picture_list": "",
"img_business_license": "",
"img_transport_license": "",
"img_corporation_idcard": "",
"description": "",
"remark": "",
"otype_name": "系统"
}
}
}