注册功能
POST
http://localhost:8081/user/teacher/register
接口描述
用户注册功能
请求参数
multipart/form-data参数名
类型
描述
必填
phone
String
电话号码
必填
code
String
图形验证码
必填
响应参数
application/json参数名
类型
描述
必填
code
int
结果码
必填
msg
String
结果提示信息
必填
id
Long
用户id
必填
teacherId
String
职工号
必填
name
int
状态(1代表正常,0代表禁用)
必填
password
String
密码(注册成功所有用户初始密码均默认为123456)
必填
phone
String
注册日期
必填
email
String
修改日期
必填
sex
int
性别(0代表男,1代表女)
必填
age
int
年龄
必填
nation
String
名族
必填
idNumber
String
身份证
必填
affiliatedPartyBranch
String
所属党支部
必填
school
String
学校
必填
nativePlace
String
籍贯
必填
avatar
String
头像
必填
status
int
状态
必填
identity
String
身份(0代表老师)
必填