文档
测试

学生注册接口

POST
http://47.110.154.146:8092/student/register

接口描述

学生注册接口

请求参数

参数名
类型
描述
必填
id
String
学号(8位 例如19180405)
必填
name
String
姓名
必填
major
String
专业
必填
department
String
学院
必填
gender
boolean
1为男, 0为女
必填
phone
String
手机号 11位
必填
email
String
邮箱
必填
password
String
密码
必填

说明 / 示例

成功返回为 { status: "success", data: "注册成功" } 失败返回为 { status: "fail", data: { errCode: 10001, errMsg: "本学生已注册" } } 其中errÇode为错误代码, errMsg为错误信息