文档
测试

获取用户的基本信息

GET
http://localhost:8081/user/teacher/getTeacherInfo

接口描述

获取教师的基本信息

请求头

参数名
类型
描述
必填
token
String
token
必填

请求参数

multipart/form-data
参数名
类型
描述
必填
phone
String
用户的手机号
必填

响应参数

application/json
参数名
类型
描述
必填
code
int
结果码
必填
msg
String
操作结果
必填
result
Object
必填
id
Long
用户Id
必填
teacherId
String
教职工号
必填
name
String
名称
必填
password
String
密码
必填
phone
String
手机号
必填
email
String
邮箱
必填
sex
int
性别
必填
age
int
年龄
必填
nation
String
名族
必填
idNumber
String
身份证
必填
affiliatedPartyBranch
String
所属团支部
必填
school
String
学校
必填
nativePlace
String
籍贯
必填
avatar
String
头像地址
必填
status
int
状态(0代表禁用,1代表正常)
必填
identity
int
身份(0老师)
必填