pc端/管理端用户登录
POST
localhost:10101/xiaoyou/user/login
请求参数
参数名
类型
描述
必填
username
String
必填
password
String
必填
frontType
Integer
前端类型:1-H5,2-PC
必填
响应参数
参数名
类型
描述
必填
success
boolean
示例:true
必填
message
string
示例:success
必填
code
int
示例:200
必填
timestamp
int
示例:1621839763886
必填
token
object
示例:null
必填
id
object
示例:null
必填
createTime
object
示例:null
必填
updateTime
object
示例:null
必填
deleteTime
object
示例:null
必填
createBy
object
示例:null
必填
updateBy
object
示例:null
必填
deleted
boolean
示例:false
必填
username
string
示例:123
必填
name
object
示例:null
必填
password
string
示例:wdhxsb
必填
sex
object
示例:null
必填
headPortraitUrl
object
示例:null
必填
nickname
string
示例:123
必填
phoneNumber
string
示例:18207828072
必填
email
string
示例:123@qq.com
必填
authStatus
object
示例:null
必填
authenticationId
object
示例:null
必填
roleType
int
示例:1
必填
openId
object
示例:null
必填
unionId
object
示例:null
必填
status
int
示例:0
必填
lastLoginTime
最后登录时间
必填