用户基本信息上传功能
POST
http://localhost:8081/user/teacher/addTeacherInfo
接口描述
上传老师信息功能
请求头
参数名
类型
描述
必填
token
String
token
必填
请求参数
multipart/form-data参数名
类型
描述
必填
teacherId
String
教职工号
必填
name
String
名字
必填
email
String
邮箱
必填
sex
int
性别
必填
age
int
年龄
必填
nation
String
名族
必填
idNumber
String
身份证
必填
affiliatedPartyBranch
String
所属团支部
必填
school
String
学校
必填
nativePlace
String
籍贯
必填
identity
int
身份(入党积极分子,预备党员等)
必填
avatar
String
头像地址(头像上传成功以后返回的地址)
必填
响应参数
application/json参数名
类型
描述
必填
code
int
结果码
必填
msg
String
操作结果
必填
result
string
结果
必填