文档
测试

三种登录同一个接口

POST
http://localhost:8082/red-memory-user/user/userLogin/userLogin

接口描述

返回500就报错 返回信息见图

请求参数

参数名
类型
描述
必填
message
string
示例:000511
必填
cellphone
string
示例:18150625055
必填
password
string
示例:123456
必填
redPassportNumber
int
示例:10000005
必填
loginType
int
示例:3
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:success
必填
code
int
示例:0
必填
expire
int
示例:172800
必填
user
object
数据字典
必填
redUserId
object
示例:null
必填
openId
object
示例:null
必填
cid
object
示例:null
必填
redPassportNumber
object
示例:null
必填
name
object
示例:null
必填
sex
object
示例:null
必填
headUrl
object
示例:null
必填
birthday
object
示例:null
必填
address
object
示例:null
必填
redAge
object
示例:null
必填
userStatus
object
示例:null
必填
cellphone
object
示例:null
必填
integral
object
示例:null
必填
starCoin
object
示例:null
必填
levelType
object
示例:null
必填
levelTitle
object
示例:null
必填
studentId
object
示例:null
必填
teacherId
object
示例:null
必填
userId
object
示例:null
必填
username
string
示例:18150625055
必填
email
object
示例:null
必填
mobile
string
示例:18150625055
必填
status
int
示例:1
必填
roleIdList
object
示例:null
必填
createUserId
object
示例:null
必填
createTime
string
示例:2021-10-27 13:51:01
必填
schoolId
string
示例:1454007109581672448
必填
educationId
object
示例:null
必填
token
string
示例:768d06cb39a074605ed8ab2f10918464
必填
role
String
游客 学生 老师 3种
必填
authStatus
String
认证状态 未审核 审核中 认证成功
必填

说明 / 示例

![image.png](https://cos.easydoc.net/26755509/files/kwelu8ks.png)