查询用户
POST
/myauth/web/getUser请求参数
Header 参数
token
string
必需
登录成功后返回的token
示例值:
b9eab83c09cc4d38bbcef5392cfb6333
Body 参数application/json
id
integer
用户id
示例
{
"id": 3
}
示例代码
返回响应
成功(200)
错误(500)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
success
boolean
必需
msg
string
必需
sign
string
必需
result
object
必需
id
integer
必需
user
string
必需
pass
string
必需
name
string
必需
point
integer
必需
qq
string
必需
lastIp
string
必需
lastTime
integer
必需
regTime
integer
必需
authTime
integer
必需
fromSoftId
integer
必需
fromSoftKey
string
必需
fromVerId
integer
必需
fromVerKey
string
必需
token
string
必需
remark
string
必需
deviceInfo
string
必需
deviceCode
string
必需
ckey
string
必需
fromAdminId
integer
必需
fromSoftName
null
必需
timestamp
integer
必需
示例成功示例
{
"code": 200,
"success": true,
"msg": "查询成功",
"sign": "",
"result": {
"id": 3,
"user": "90ac5673c3f5ed4364ca69fcb595023c",
"pass": "",
"name": "",
"point": 0,
"qq": "",
"lastIp": "113.128.51.58",
"lastTime": 1644744336,
"regTime": 1644733122,
"authTime": -1,
"fromSoftId": 1,
"fromSoftKey": "C5817BD0-0B99-41c3-A62C-77AD75677F52",
"fromVerId": 97,
"fromVerKey": "0b8350dc-dce8-4e05-9b75-fec8bfd3ccff",
"token": "n9y6i6i0Ujiz7NnD+P3HhcqWtA7WM0L5xs0eOI0XMLfHRZXJM0/1MTxTe6BxnFeK1OylpWQ37W474zQ0TMu00GnLr2+tmhF8wY2Z093crnNP1WR0lbtNCl3ecunsZwaF",
"remark": "",
"deviceInfo": "获取失败,请检查版本:10.0",
"deviceCode": "5A79565CC85400F0",
"ckey": "",
"fromAdminId": 1,
"fromSoftName": null
},
"timestamp": 1645439865186
}
最后修改时间: 3 年前