请求例子:
apirq('user/ulistbymlg', {
method: "post",
data: {
"ticket_stub": "5b4ffcdb01002930",
"mobile": "18200509877",
"code": "917416"
}
})
返回数据结果:
{
"code": 0,
"msg": "ok",
"time": "1531968792",
"data": {
"trust_token": "5b4ffd1801459595",
"lists": [
{
"uid": "0000000000000002",
"code": "U1000001",
"utype": 1,
"orgid": "1000000000000000",
"username": "sysrobot",
"status": 1,
"nickname": "系统机器人",
"head": "234d65df86fecb79",
"sex": 1,
"email": "549042814@qq.com",
"mobile": "18200509877",
"login": 360,
"realname": "系统机器人",
"orginfo": {
"sys_id": "1000000000000000",
"name": "系统",
// ....
"otype_name": "系统"
},
"position": 1,
"position_name": "系统管理员",
"department_name": "管理部"
},
{
"uid": "0000000000000001",
"code": "U1000000",
"utype": 1,
"orgid": "1000000000000000",
"username": "administrator",
"status": 1,
"nickname": "超级管理员",
"head": "234d65df86fecb79",
"sex": 1,
"email": "549042814@qq.com",
"mobile": "18200509877",
"login": 358,
"realname": "超级管理员",
"orginfo": {
"sys_id": "1000000000000000",
"name": "系统",
// ...
"otype_name": "系统"
}
}
]
}
}