文档
测试

登录功能

POST
/demo/user/login

请求参数

参数名
类型
描述
必填
userEntity
object
userEntity
必填
createTime
string
可选
enableStatus
integer
可选
id
integer
可选
name
string
可选
password
string
可选
phone
string
可选
updateTime
string
可选
phone
string
示例:17806705555
必填
password
string
示例:123456
必填

响应参数

参数名
类型
描述
必填
root
object
OK
必填
code
integer
可选
data
object
可选
message
string
可选
success
boolean
可选
success
boolean
示例:true
必填
code
int
示例:20000
必填
message
string
示例:成功
必填
data
object
数据字典
必填
extend
object
数据字典
必填
id
int
示例:1
必填
userId
int
示例:13
必填
city
string
示例:中国
必填
province
string
示例:福建
必填
country
string
示例:厦门
必填
roles
string
示例:[admin, test, superAdmin]
必填
user
object
数据字典
必填
id
int
示例:13
必填
name
string
示例:老九
必填
phone
string
示例:17806705555
必填
password
string
示例:fcea920f7412b5da7be0cf42b8c93759
必填
enableStatus
int
示例:1
必填
createTime
string
示例:2021-07-15 09:29:12
必填
updateTime
string
示例:2021-07-16 01:48:21
必填