ordworld

项目开始时间

  • 2020-04-02

代码开始时间

  • 2020-04-04

项目结束时间

  • 2020-07-10

API效果展示

截屏2020-07-10 下午9.36.35

Ord World APIs

简介:Ord World APIs

HOST:127.0.0.1:8080

联系人:liupeng.0@outlook.com

Version:1.0

接口路径:/v2/api-docs

[TOC]

专业信息控制器

添加专业信息

接口地址:/Professional/add

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"college": "",
	"department": "",
	"id": 0,
	"number": "",
	"professional": ""
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
professionalInformation professionalInformation body true 专业信息 专业信息
  college 学院 false string
  department false string
  id ID false integer(int32)
  number 编号 false string
  professional 专业 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

删除专业信息

接口地址:/Professional/delete

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"college": "",
	"department": "",
	"id": 0,
	"number": "",
	"professional": ""
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
professionalInformation professionalInformation body true 专业信息 专业信息
  college 学院 false string
  department false string
  id ID false integer(int32)
  number 编号 false string
  professional 专业 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

查找所有专业信息

接口地址:/Professional/getAll

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求参数:

暂无

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

查找某学院的专业的编号

接口地址:/Professional/getAllNumberByCollege

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"college": "",
	"department": "",
	"id": 0,
	"number": "",
	"professional": ""
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
professionalInformation professionalInformation body true 专业信息 专业信息
  college 学院 false string
  department false string
  id ID false integer(int32)
  number 编号 false string
  professional 专业 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

查找某系的专业的编号

接口地址:/Professional/getAllNumberByDepartment

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"college": "",
	"department": "",
	"id": 0,
	"number": "",
	"professional": ""
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
professionalInformation professionalInformation body true 专业信息 专业信息
  college 学院 false string
  department false string
  id ID false integer(int32)
  number 编号 false string
  professional 专业 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

查找某专业的专业的编号

接口地址:/Professional/getAllNumberByProfessional

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"college": "",
	"department": "",
	"id": 0,
	"number": "",
	"professional": ""
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
professionalInformation professionalInformation body true 专业信息 专业信息
  college 学院 false string
  department false string
  id ID false integer(int32)
  number 编号 false string
  professional 专业 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

通过专业编号查找专业信息

接口地址:/Professional/selectByNumber

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"college": "",
	"department": "",
	"id": 0,
	"number": "",
	"professional": ""
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
professionalInformation professionalInformation body true 专业信息 专业信息
  college 学院 false string
  department false string
  id ID false integer(int32)
  number 编号 false string
  professional 专业 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

通过ID查找专业信息

接口地址:/Professional/selectOne

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"college": "",
	"department": "",
	"id": 0,
	"number": "",
	"professional": ""
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
professionalInformation professionalInformation body true 专业信息 专业信息
  college 学院 false string
  department false string
  id ID false integer(int32)
  number 编号 false string
  professional 专业 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

学生控制器

学生注册

接口地址:/student/addOne

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"password": "",
	"password1": "",
	"password2": "",
	"student": {
		"id": 0,
		"imageurl": "",
		"isdelete": 0,
		"name": "",
		"password": 0,
		"phonenumber": "",
		"prodessionalid": 0,
		"studentid": ""
	}
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
reStudent reStudent body true 学生注册登陆修改密码类 学生注册登陆修改密码类
  password 登陆密码 false string
  password1 密码 false string
  password2 确认密码 false string
  student false 学生表 学生表
    id 自增ID false integer(int32)
    imageurl 头像图片 false string
    isdelete 删除标记 false integer(int32)
    name 姓名 false string
    password 密码值 false integer(int32)
    phonenumber 联系方式 false string
    prodessionalid 专业编号 false integer(int32)
    studentid 学生学号 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

学生编辑信息

接口地址:/student/edit

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"password": "",
	"password1": "",
	"password2": "",
	"student": {
		"id": 0,
		"imageurl": "",
		"isdelete": 0,
		"name": "",
		"password": 0,
		"phonenumber": "",
		"prodessionalid": 0,
		"studentid": ""
	}
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
reStudent reStudent body true 学生注册登陆修改密码类 学生注册登陆修改密码类
  password 登陆密码 false string
  password1 密码 false string
  password2 确认密码 false string
  student false 学生表 学生表
    id 自增ID false integer(int32)
    imageurl 头像图片 false string
    isdelete 删除标记 false integer(int32)
    name 姓名 false string
    password 密码值 false integer(int32)
    phonenumber 联系方式 false string
    prodessionalid 专业编号 false integer(int32)
    studentid 学生学号 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

获取所有学生信息

接口地址:/student/getAll

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求参数:

暂无

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

学生登陆

接口地址:/student/landing

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"password": "",
	"password1": "",
	"password2": "",
	"student": {
		"id": 0,
		"imageurl": "",
		"isdelete": 0,
		"name": "",
		"password": 0,
		"phonenumber": "",
		"prodessionalid": 0,
		"studentid": ""
	}
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
reStudent reStudent body true 学生注册登陆修改密码类 学生注册登陆修改密码类
  password 登陆密码 false string
  password1 密码 false string
  password2 确认密码 false string
  student false 学生表 学生表
    id 自增ID false integer(int32)
    imageurl 头像图片 false string
    isdelete 删除标记 false integer(int32)
    name 姓名 false string
    password 密码值 false integer(int32)
    phonenumber 联系方式 false string
    prodessionalid 专业编号 false integer(int32)
    studentid 学生学号 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

学生修改密码

接口地址:/student/rePassword

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"password": "",
	"password1": "",
	"password2": "",
	"student": {
		"id": 0,
		"imageurl": "",
		"isdelete": 0,
		"name": "",
		"password": 0,
		"phonenumber": "",
		"prodessionalid": 0,
		"studentid": ""
	}
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
reStudent reStudent body true 学生注册登陆修改密码类 学生注册登陆修改密码类
  password 登陆密码 false string
  password1 密码 false string
  password2 确认密码 false string
  student false 学生表 学生表
    id 自增ID false integer(int32)
    imageurl 头像图片 false string
    isdelete 删除标记 false integer(int32)
    name 姓名 false string
    password 密码值 false integer(int32)
    phonenumber 联系方式 false string
    prodessionalid 专业编号 false integer(int32)
    studentid 学生学号 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

通过联系方式查询学生

接口地址:/student/selectByPhoneNumber

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"id": 0,
	"imageurl": "",
	"isdelete": 0,
	"name": "",
	"password": 0,
	"phonenumber": "",
	"prodessionalid": 0,
	"studentid": ""
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
student student body true 学生表 学生表
  id 自增ID false integer(int32)
  imageurl 头像图片 false string
  isdelete 删除标记 false integer(int32)
  name 姓名 false string
  password 密码值 false integer(int32)
  phonenumber 联系方式 false string
  prodessionalid 专业编号 false integer(int32)
  studentid 学生学号 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

通过学号查询学生

接口地址:/student/selectByStudentID

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"id": 0,
	"imageurl": "",
	"isdelete": 0,
	"name": "",
	"password": 0,
	"phonenumber": "",
	"prodessionalid": 0,
	"studentid": ""
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
student student body true 学生表 学生表
  id 自增ID false integer(int32)
  imageurl 头像图片 false string
  isdelete 删除标记 false integer(int32)
  name 姓名 false string
  password 密码值 false integer(int32)
  phonenumber 联系方式 false string
  prodessionalid 专业编号 false integer(int32)
  studentid 学生学号 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

通过学ID查询学生

接口地址:/student/selectOne

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"id": 0,
	"imageurl": "",
	"isdelete": 0,
	"name": "",
	"password": 0,
	"phonenumber": "",
	"prodessionalid": 0,
	"studentid": ""
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
student student body true 学生表 学生表
  id 自增ID false integer(int32)
  imageurl 头像图片 false string
  isdelete 删除标记 false integer(int32)
  name 姓名 false string
  password 密码值 false integer(int32)
  phonenumber 联系方式 false string
  prodessionalid 专业编号 false integer(int32)
  studentid 学生学号 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

开始测试控制器

say hello

接口地址:/indexCationPaper/hello

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"id": 0,
	"imageurl": "",
	"name": "",
	"password": 0,
	"phonenumber": ""
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
conservator conservator body true 管理员 管理员
  id ID false integer(int32)
  imageurl 头像URL false string
  name 名称 false string
  password 密码 false integer(int32)
  phonenumber 联系方式 false string

响应状态:

状态码 说明 schema
200 OK 管理员
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
id ID integer(int32) integer(int32)
imageurl 头像URL string
name 名称 string
password 密码 integer(int32) integer(int32)
phonenumber 联系方式 string

响应示例:

{
	"id": 0,
	"imageurl": "",
	"name": "",
	"password": 0,
	"phonenumber": ""
}

获取当前时间

接口地址:/indexCationPaper/now

请求方式:GET

请求数据类型:*

响应数据类型:application/json;charset=UTF-8

接口描述:

请求参数:

暂无

响应状态:

状态码 说明 schema
200 OK
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

暂无

响应示例:

获取当前时间

接口地址:/indexCationPaper/now

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求参数:

暂无

响应状态:

状态码 说明 schema
200 OK
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

暂无

响应示例:

教师控制器

教师注册

接口地址:/teacher/add

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"password": "",
	"password1": "",
	"password2": "",
	"teacher": {
		"id": 0,
		"imageurl": "",
		"isdelete": 0,
		"name": "",
		"password": 0,
		"phonenumber": "",
		"professionalid": "",
		"teachernumber": ""
	}
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
reTeacher reTeacher body true 教师注册登陆修改密码类 教师注册登陆修改密码类
  password 登陆密码 false string
  password1 密码 false string
  password2 确认密码 false string
  teacher false 教师 教师
    id 自增ID false integer(int32)
    imageurl 头像URL false string
    isdelete 是否注销 false integer(int32)
    name 教师名称 false string
    password 密码 false integer(int32)
    phonenumber 联系方式 false string
    professionalid 专业编号 false string
    teachernumber 教师编号 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

编辑信息

接口地址:/teacher/edit

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"id": 0,
	"imageurl": "",
	"isdelete": 0,
	"name": "",
	"password": 0,
	"phonenumber": "",
	"professionalid": "",
	"teachernumber": ""
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
teacher teacher body true 教师 教师
  id 自增ID false integer(int32)
  imageurl 头像URL false string
  isdelete 是否注销 false integer(int32)
  name 教师名称 false string
  password 密码 false integer(int32)
  phonenumber 联系方式 false string
  professionalid 专业编号 false string
  teachernumber 教师编号 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

电话号码查重

接口地址:/teacher/findSamePhoneNumber

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"id": 0,
	"imageurl": "",
	"isdelete": 0,
	"name": "",
	"password": 0,
	"phonenumber": "",
	"professionalid": "",
	"teachernumber": ""
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
teacher teacher body true 教师 教师
  id 自增ID false integer(int32)
  imageurl 头像URL false string
  isdelete 是否注销 false integer(int32)
  name 教师名称 false string
  password 密码 false integer(int32)
  phonenumber 联系方式 false string
  professionalid 专业编号 false string
  teachernumber 教师编号 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

查询所有教师

接口地址:/teacher/getAll

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求参数:

暂无

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

查询某学院所有教师

接口地址:/teacher/getAllByCollege

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"college": "",
	"department": "",
	"id": 0,
	"number": "",
	"professional": ""
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
professionalInformation professionalInformation body true 专业信息 专业信息
  college 学院 false string
  department false string
  id ID false integer(int32)
  number 编号 false string
  professional 专业 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

查询某专业所有教师

接口地址:/teacher/getAllByProfessional

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"id": 0,
	"imageurl": "",
	"isdelete": 0,
	"name": "",
	"password": 0,
	"phonenumber": "",
	"professionalid": "",
	"teachernumber": ""
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
teacher teacher body true 教师 教师
  id 自增ID false integer(int32)
  imageurl 头像URL false string
  isdelete 是否注销 false integer(int32)
  name 教师名称 false string
  password 密码 false integer(int32)
  phonenumber 联系方式 false string
  professionalid 专业编号 false string
  teachernumber 教师编号 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

教师登陆

接口地址:/teacher/landing

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"password": "",
	"password1": "",
	"password2": "",
	"teacher": {
		"id": 0,
		"imageurl": "",
		"isdelete": 0,
		"name": "",
		"password": 0,
		"phonenumber": "",
		"professionalid": "",
		"teachernumber": ""
	}
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
reTeacher reTeacher body true 教师注册登陆修改密码类 教师注册登陆修改密码类
  password 登陆密码 false string
  password1 密码 false string
  password2 确认密码 false string
  teacher false 教师 教师
    id 自增ID false integer(int32)
    imageurl 头像URL false string
    isdelete 是否注销 false integer(int32)
    name 教师名称 false string
    password 密码 false integer(int32)
    phonenumber 联系方式 false string
    professionalid 专业编号 false string
    teachernumber 教师编号 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

修改密码

接口地址:/teacher/rePassword

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"password": "",
	"password1": "",
	"password2": "",
	"teacher": {
		"id": 0,
		"imageurl": "",
		"isdelete": 0,
		"name": "",
		"password": 0,
		"phonenumber": "",
		"professionalid": "",
		"teachernumber": ""
	}
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
reTeacher reTeacher body true 教师注册登陆修改密码类 教师注册登陆修改密码类
  password 登陆密码 false string
  password1 密码 false string
  password2 确认密码 false string
  teacher false 教师 教师
    id 自增ID false integer(int32)
    imageurl 头像URL false string
    isdelete 是否注销 false integer(int32)
    name 教师名称 false string
    password 密码 false integer(int32)
    phonenumber 联系方式 false string
    professionalid 专业编号 false string
    teachernumber 教师编号 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

通过教师编号查询教师信息

接口地址:/teacher/selectByNumber

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"id": 0,
	"imageurl": "",
	"isdelete": 0,
	"name": "",
	"password": 0,
	"phonenumber": "",
	"professionalid": "",
	"teachernumber": ""
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
teacher teacher body true 教师 教师
  id 自增ID false integer(int32)
  imageurl 头像URL false string
  isdelete 是否注销 false integer(int32)
  name 教师名称 false string
  password 密码 false integer(int32)
  phonenumber 联系方式 false string
  professionalid 专业编号 false string
  teachernumber 教师编号 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

通过主键查询单条数据

接口地址:/teacher/selectOne

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"id": 0,
	"imageurl": "",
	"isdelete": 0,
	"name": "",
	"password": 0,
	"phonenumber": "",
	"professionalid": "",
	"teachernumber": ""
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
teacher teacher body true 教师 教师
  id 自增ID false integer(int32)
  imageurl 头像URL false string
  isdelete 是否注销 false integer(int32)
  name 教师名称 false string
  password 密码 false integer(int32)
  phonenumber 联系方式 false string
  professionalid 专业编号 false string
  teachernumber 教师编号 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

文件名称控制器

添加File名称

接口地址:/filename/add

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"filename": "",
	"id": 0
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
filename filename body true Filename Filename
  filename false string
  id false integer(int32)

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

查找File名称

接口地址:/filename/selectByName

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"filename": "",
	"id": 0
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
filename filename body true Filename Filename
  filename false string
  id false integer(int32)

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

文件控制器

文件下载

接口地址:/File/downloadFile/{fileName}

请求方式:GET

请求数据类型:*

响应数据类型:application/json;charset=UTF-8

接口描述:

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
fileName fileName path true string

响应状态:

状态码 说明 schema
200 OK Resource
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
description string
file File File
  absolute boolean
  absoluteFile File File
    absolute false
    absoluteFile false
    absolutePath false
    canonicalFile false
    canonicalPath false
    directory false
    file false
    freeSpace false
    hidden false
    name false
    parent false
    parentFile false
    path false
    totalSpace false
    usableSpace false
  absolutePath string
  canonicalFile File File
    absolute false
    absoluteFile false
    absolutePath false
    canonicalFile false
    canonicalPath false
    directory false
    file false
    freeSpace false
    hidden false
    name false
    parent false
    parentFile false
    path false
    totalSpace false
    usableSpace false
  canonicalPath string
  directory boolean
  file boolean
  freeSpace integer(int64)
  hidden boolean
  name string
  parent string
  parentFile File File
    absolute false
    absoluteFile false
    absolutePath false
    canonicalFile false
    canonicalPath false
    directory false
    file false
    freeSpace false
    hidden false
    name false
    parent false
    parentFile false
    path false
    totalSpace false
    usableSpace false
  path string
  totalSpace integer(int64)
  usableSpace integer(int64)
filename string
inputStream InputStream InputStream
open boolean
readable boolean
uri URI URI
  absolute boolean
  authority string
  fragment string
  host string
  opaque boolean
  path string
  port integer(int32)
  query string
  rawAuthority string
  rawFragment string
  rawPath string
  rawQuery string
  rawSchemeSpecificPart string
  rawUserInfo string
  scheme string
  schemeSpecificPart string
  userInfo string
url URL URL
  authority string
  content object
  defaultPort integer(int32)
  file string
  host string
  path string
  port integer(int32)
  protocol string
  query string
  ref string
  userInfo string

响应示例:

{
	"description": "",
	"file": {
		"absolute": true,
		"absoluteFile": "",
		"absolutePath": "",
		"canonicalFile": "",
		"canonicalPath": "",
		"directory": true,
		"file": true,
		"freeSpace": 0,
		"hidden": true,
		"name": "",
		"parent": "",
		"parentFile": "",
		"path": "",
		"totalSpace": 0,
		"usableSpace": 0
	},
	"filename": "",
	"inputStream": {},
	"open": true,
	"readable": true,
	"uri": {
		"absolute": true,
		"authority": "",
		"fragment": "",
		"host": "",
		"opaque": true,
		"path": "",
		"port": 0,
		"query": "",
		"rawAuthority": "",
		"rawFragment": "",
		"rawPath": "",
		"rawQuery": "",
		"rawSchemeSpecificPart": "",
		"rawUserInfo": "",
		"scheme": "",
		"schemeSpecificPart": "",
		"userInfo": ""
	},
	"url": {
		"authority": "",
		"content": {},
		"defaultPort": 0,
		"file": "",
		"host": "",
		"path": "",
		"port": 0,
		"protocol": "",
		"query": "",
		"ref": "",
		"userInfo": ""
	}
}

文件下载

接口地址:/File/downloadFile/{fileName}

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
fileName fileName path true string

响应状态:

状态码 说明 schema
200 OK Resource
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
description string
file File File
  absolute boolean
  absoluteFile File File
    absolute false
    absoluteFile false
    absolutePath false
    canonicalFile false
    canonicalPath false
    directory false
    file false
    freeSpace false
    hidden false
    name false
    parent false
    parentFile false
    path false
    totalSpace false
    usableSpace false
  absolutePath string
  canonicalFile File File
    absolute false
    absoluteFile false
    absolutePath false
    canonicalFile false
    canonicalPath false
    directory false
    file false
    freeSpace false
    hidden false
    name false
    parent false
    parentFile false
    path false
    totalSpace false
    usableSpace false
  canonicalPath string
  directory boolean
  file boolean
  freeSpace integer(int64)
  hidden boolean
  name string
  parent string
  parentFile File File
    absolute false
    absoluteFile false
    absolutePath false
    canonicalFile false
    canonicalPath false
    directory false
    file false
    freeSpace false
    hidden false
    name false
    parent false
    parentFile false
    path false
    totalSpace false
    usableSpace false
  path string
  totalSpace integer(int64)
  usableSpace integer(int64)
filename string
inputStream InputStream InputStream
open boolean
readable boolean
uri URI URI
  absolute boolean
  authority string
  fragment string
  host string
  opaque boolean
  path string
  port integer(int32)
  query string
  rawAuthority string
  rawFragment string
  rawPath string
  rawQuery string
  rawSchemeSpecificPart string
  rawUserInfo string
  scheme string
  schemeSpecificPart string
  userInfo string
url URL URL
  authority string
  content object
  defaultPort integer(int32)
  file string
  host string
  path string
  port integer(int32)
  protocol string
  query string
  ref string
  userInfo string

响应示例:

{
	"description": "",
	"file": {
		"absolute": true,
		"absoluteFile": "",
		"absolutePath": "",
		"canonicalFile": "",
		"canonicalPath": "",
		"directory": true,
		"file": true,
		"freeSpace": 0,
		"hidden": true,
		"name": "",
		"parent": "",
		"parentFile": "",
		"path": "",
		"totalSpace": 0,
		"usableSpace": 0
	},
	"filename": "",
	"inputStream": {},
	"open": true,
	"readable": true,
	"uri": {
		"absolute": true,
		"authority": "",
		"fragment": "",
		"host": "",
		"opaque": true,
		"path": "",
		"port": 0,
		"query": "",
		"rawAuthority": "",
		"rawFragment": "",
		"rawPath": "",
		"rawQuery": "",
		"rawSchemeSpecificPart": "",
		"rawUserInfo": "",
		"scheme": "",
		"schemeSpecificPart": "",
		"userInfo": ""
	},
	"url": {
		"authority": "",
		"content": {},
		"defaultPort": 0,
		"file": "",
		"host": "",
		"path": "",
		"port": 0,
		"protocol": "",
		"query": "",
		"ref": "",
		"userInfo": ""
	}
}

单文件上传

接口地址:/File/uploadFile

请求方式:POST

请求数据类型:multipart/form-data

响应数据类型:application/json;charset=UTF-8

接口描述:

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
file file formData true file

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

毕设题目控制器

添加毕设题目信息

接口地址:/project/add

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"fileurl": "",
	"id": 0,
	"isselect": 0,
	"studentnumber": "",
	"teacherid": 0,
	"title": ""
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
project project body true 毕设题目 毕设题目
  fileurl 描述文件 false string
  id 自增ID false integer(int32)
  isselect 是否被选 false integer(int32)
  studentnumber 学生学号 false string
  teacherid 教师ID false integer(int32)
  title 题目 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

删除毕设题目信息

接口地址:/project/delete

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"fileurl": "",
	"id": 0,
	"isselect": 0,
	"studentnumber": "",
	"teacherid": 0,
	"title": ""
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
project project body true 毕设题目 毕设题目
  fileurl 描述文件 false string
  id 自增ID false integer(int32)
  isselect 是否被选 false integer(int32)
  studentnumber 学生学号 false string
  teacherid 教师ID false integer(int32)
  title 题目 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

查询是否有重复毕设题目信息

接口地址:/project/findSame

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"fileurl": "",
	"id": 0,
	"isselect": 0,
	"studentnumber": "",
	"teacherid": 0,
	"title": ""
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
project project body true 毕设题目 毕设题目
  fileurl 描述文件 false string
  id 自增ID false integer(int32)
  isselect 是否被选 false integer(int32)
  studentnumber 学生学号 false string
  teacherid 教师ID false integer(int32)
  title 题目 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

查询学生申请

接口地址:/project/findStudentApplication

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"fileurl": "",
	"id": 0,
	"isselect": 0,
	"studentnumber": "",
	"teacherid": 0,
	"title": ""
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
project project body true 毕设题目 毕设题目
  fileurl 描述文件 false string
  id 自增ID false integer(int32)
  isselect 是否被选 false integer(int32)
  studentnumber 学生学号 false string
  teacherid 教师ID false integer(int32)
  title 题目 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

查询某所有题目

接口地址:/project/getAll

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"fileurl": "",
	"id": 0,
	"isselect": 0,
	"studentnumber": "",
	"teacherid": 0,
	"title": ""
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
project project body true 毕设题目 毕设题目
  fileurl 描述文件 false string
  id 自增ID false integer(int32)
  isselect 是否被选 false integer(int32)
  studentnumber 学生学号 false string
  teacherid 教师ID false integer(int32)
  title 题目 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

查询某个老师的所有题目

接口地址:/project/getAllByTeacherId

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"fileurl": "",
	"id": 0,
	"isselect": 0,
	"studentnumber": "",
	"teacherid": 0,
	"title": ""
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
project project body true 毕设题目 毕设题目
  fileurl 描述文件 false string
  id 自增ID false integer(int32)
  isselect 是否被选 false integer(int32)
  studentnumber 学生学号 false string
  teacherid 教师ID false integer(int32)
  title 题目 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

教师重置学生申请

接口地址:/project/reTasksToStudent

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"fileurl": "",
	"id": 0,
	"isselect": 0,
	"studentnumber": "",
	"teacherid": 0,
	"title": ""
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
project project body true 毕设题目 毕设题目
  fileurl 描述文件 false string
  id 自增ID false integer(int32)
  isselect 是否被选 false integer(int32)
  studentnumber 学生学号 false string
  teacherid 教师ID false integer(int32)
  title 题目 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

通过ID查找毕设题目信息

接口地址:/project/selectOne

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"fileurl": "",
	"id": 0,
	"isselect": 0,
	"studentnumber": "",
	"teacherid": 0,
	"title": ""
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
project project body true 毕设题目 毕设题目
  fileurl 描述文件 false string
  id 自增ID false integer(int32)
  isselect 是否被选 false integer(int32)
  studentnumber 学生学号 false string
  teacherid 教师ID false integer(int32)
  title 题目 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

批准学生申请

接口地址:/project/tasksToStudent

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"fileurl": "",
	"id": 0,
	"isselect": 0,
	"studentnumber": "",
	"teacherid": 0,
	"title": ""
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
project project body true 毕设题目 毕设题目
  fileurl 描述文件 false string
  id 自增ID false integer(int32)
  isselect 是否被选 false integer(int32)
  studentnumber 学生学号 false string
  teacherid 教师ID false integer(int32)
  title 题目 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

管理员控制器

管理员登陆

接口地址:/Conservator/landing

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"conservator": {
		"id": 0,
		"imageurl": "",
		"name": "",
		"password": 0,
		"phonenumber": ""
	},
	"password": "",
	"password1": "",
	"password2": ""
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
reConservator reConservator body true 管理员注册登陆修改密码类 管理员注册登陆修改密码类
  conservator false 管理员 管理员
    id ID false integer(int32)
    imageurl 头像URL false string
    name 名称 false string
    password 密码 false integer(int32)
    phonenumber 联系方式 false string
  password 登陆密码 false string
  password1 密码 false string
  password2 确认密码 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

管理员修改密码

接口地址:/Conservator/rePassword

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"conservator": {
		"id": 0,
		"imageurl": "",
		"name": "",
		"password": 0,
		"phonenumber": ""
	},
	"password": "",
	"password1": "",
	"password2": ""
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
reConservator reConservator body true 管理员注册登陆修改密码类 管理员注册登陆修改密码类
  conservator false 管理员 管理员
    id ID false integer(int32)
    imageurl 头像URL false string
    name 名称 false string
    password 密码 false integer(int32)
    phonenumber 联系方式 false string
  password 登陆密码 false string
  password1 密码 false string
  password2 确认密码 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

管理员注册

接口地址:/Conservator/register

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"conservator": {
		"id": 0,
		"imageurl": "",
		"name": "",
		"password": 0,
		"phonenumber": ""
	},
	"password": "",
	"password1": "",
	"password2": ""
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
reConservator reConservator body true 管理员注册登陆修改密码类 管理员注册登陆修改密码类
  conservator false 管理员 管理员
    id ID false integer(int32)
    imageurl 头像URL false string
    name 名称 false string
    password 密码 false integer(int32)
    phonenumber 联系方式 false string
  password 登陆密码 false string
  password1 密码 false string
  password2 确认密码 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

通过管理员ID获取管理员信息

接口地址:/Conservator/selectByPrimaryKey

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"id": 0,
	"imageurl": "",
	"name": "",
	"password": 0,
	"phonenumber": ""
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
conservator conservator body true 管理员 管理员
  id ID false integer(int32)
  imageurl 头像URL false string
  name 名称 false string
  password 密码 false integer(int32)
  phonenumber 联系方式 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

管理员电话号码查重

接口地址:/Conservator/selectPhoneNumber

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"id": 0,
	"imageurl": "",
	"name": "",
	"password": 0,
	"phonenumber": ""
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
conservator conservator body true 管理员 管理员
  id ID false integer(int32)
  imageurl 头像URL false string
  name 名称 false string
  password 密码 false integer(int32)
  phonenumber 联系方式 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

系统公告控制器

添加系统公告信息

接口地址:/SystemInformation/add

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"authorid": 0,
	"id": 0,
	"lpcontent": "",
	"lpday": 0,
	"lpmonth": 0,
	"lpyear": 0,
	"title": ""
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
systemInformation systemInformation body true 系统公告实体 系统公告实体
  authorid 作者 false integer(int32)
  id ID false integer(int32)
  lpcontent 内容 false string
  lpday false integer(int32)
  lpmonth false integer(int32)
  lpyear false integer(int32)
  title 标题 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

删除系统公告信息

接口地址:/SystemInformation/delete

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"authorid": 0,
	"id": 0,
	"lpcontent": "",
	"lpday": 0,
	"lpmonth": 0,
	"lpyear": 0,
	"title": ""
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
systemInformation systemInformation body true 系统公告实体 系统公告实体
  authorid 作者 false integer(int32)
  id ID false integer(int32)
  lpcontent 内容 false string
  lpday false integer(int32)
  lpmonth false integer(int32)
  lpyear false integer(int32)
  title 标题 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

查询所有系统公告信息

接口地址:/SystemInformation/getAll

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求参数:

暂无

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

通过ID查询系统公告信息

接口地址:/SystemInformation/select

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"authorid": 0,
	"id": 0,
	"lpcontent": "",
	"lpday": 0,
	"lpmonth": 0,
	"lpyear": 0,
	"title": ""
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
systemInformation systemInformation body true 系统公告实体 系统公告实体
  authorid 作者 false integer(int32)
  id ID false integer(int32)
  lpcontent 内容 false string
  lpday false integer(int32)
  lpmonth false integer(int32)
  lpyear false integer(int32)
  title 标题 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

通过管理员ID查询系统公告信息

接口地址:/SystemInformation/selectByAuthor

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"authorid": 0,
	"id": 0,
	"lpcontent": "",
	"lpday": 0,
	"lpmonth": 0,
	"lpyear": 0,
	"title": ""
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
systemInformation systemInformation body true 系统公告实体 系统公告实体
  authorid 作者 false integer(int32)
  id ID false integer(int32)
  lpcontent 内容 false string
  lpday false integer(int32)
  lpmonth false integer(int32)
  lpyear false integer(int32)
  title 标题 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

通过年查询系统公告信息

接口地址:/SystemInformation/selectByYear

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"authorid": 0,
	"id": 0,
	"lpcontent": "",
	"lpday": 0,
	"lpmonth": 0,
	"lpyear": 0,
	"title": ""
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
systemInformation systemInformation body true 系统公告实体 系统公告实体
  authorid 作者 false integer(int32)
  id ID false integer(int32)
  lpcontent 内容 false string
  lpday false integer(int32)
  lpmonth false integer(int32)
  lpyear false integer(int32)
  title 标题 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

聊天控制器

添加聊天信息

接口地址:/chat/add

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"authorid": 0,
	"day": 0,
	"groupid": 0,
	"hour": 0,
	"id": 0,
	"information": "",
	"moment": 0,
	"month": 0,
	"second": 0,
	"type": 0,
	"year": 0
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
chat chat body true Chat Chat
  authorid false integer(int32)
  day false integer(int32)
  groupid false integer(int32)
  hour false integer(int32)
  id false integer(int32)
  information false string
  moment false integer(int32)
  month false integer(int32)
  second false integer(int32)
  type false integer(int32)
  year false integer(int32)

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

获取聊天信息

接口地址:/chat/getByGroupID

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"authorid": 0,
	"day": 0,
	"groupid": 0,
	"hour": 0,
	"id": 0,
	"information": "",
	"moment": 0,
	"month": 0,
	"second": 0,
	"type": 0,
	"year": 0
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
chat chat body true Chat Chat
  authorid false integer(int32)
  day false integer(int32)
  groupid false integer(int32)
  hour false integer(int32)
  id false integer(int32)
  information false string
  moment false integer(int32)
  month false integer(int32)
  second false integer(int32)
  type false integer(int32)
  year false integer(int32)

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

通过ID获取信息

接口地址:/chat/selectOne

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"authorid": 0,
	"day": 0,
	"groupid": 0,
	"hour": 0,
	"id": 0,
	"information": "",
	"moment": 0,
	"month": 0,
	"second": 0,
	"type": 0,
	"year": 0
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
chat chat body true Chat Chat
  authorid false integer(int32)
  day false integer(int32)
  groupid false integer(int32)
  hour false integer(int32)
  id false integer(int32)
  information false string
  moment false integer(int32)
  month false integer(int32)
  second false integer(int32)
  type false integer(int32)
  year false integer(int32)

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

讨论组成员控制器

讨论组添加成员

接口地址:/groupnumber/add

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"groupid": 0,
	"id": 0,
	"studentid": 0
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
groupnumber groupnumber body true Groupnumber Groupnumber
  groupid false integer(int32)
  id false integer(int32)
  studentid false integer(int32)

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

讨论组删除成员

接口地址:/groupnumber/delete

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"groupid": 0,
	"id": 0,
	"studentid": 0
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
groupnumber groupnumber body true Groupnumber Groupnumber
  groupid false integer(int32)
  id false integer(int32)
  studentid false integer(int32)

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

成员获取讨论组

接口地址:/groupnumber/getAllGroup

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"groupid": 0,
	"id": 0,
	"studentid": 0
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
groupnumber groupnumber body true Groupnumber Groupnumber
  groupid false integer(int32)
  id false integer(int32)
  studentid false integer(int32)

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

讨论组获取成员

接口地址:/groupnumber/getAllNumber

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"groupid": 0,
	"id": 0,
	"studentid": 0
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
groupnumber groupnumber body true Groupnumber Groupnumber
  groupid false integer(int32)
  id false integer(int32)
  studentid false integer(int32)

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

通过ID查询

接口地址:/groupnumber/selectByID

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"groupid": 0,
	"id": 0,
	"studentid": 0
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
groupnumber groupnumber body true Groupnumber Groupnumber
  groupid false integer(int32)
  id false integer(int32)
  studentid false integer(int32)

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

讨论组控制器

创建讨论组

接口地址:/group/create

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"id": 0,
	"imageurl": "",
	"name": "",
	"teacherid": 0
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
group group body true Group Group
  id false integer(int32)
  imageurl false string
  name false string
  teacherid false integer(int32)

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

获取所有讨论组

接口地址:/group/getAll

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求参数:

暂无

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

查询教师所有讨论组

接口地址:/group/getAllByTeacherId

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"id": 0,
	"imageurl": "",
	"name": "",
	"teacherid": 0
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
group group body true Group Group
  id false integer(int32)
  imageurl false string
  name false string
  teacherid false integer(int32)

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

讨论组修改头像

接口地址:/group/reImage

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"id": 0,
	"imageurl": "",
	"name": "",
	"teacherid": 0
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
group group body true Group Group
  id false integer(int32)
  imageurl false string
  name false string
  teacherid false integer(int32)

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

讨论组修改名称

接口地址:/group/reName

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"id": 0,
	"imageurl": "",
	"name": "",
	"teacherid": 0
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
group group body true Group Group
  id false integer(int32)
  imageurl false string
  name false string
  teacherid false integer(int32)

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

通过讨论组ID讨论组

接口地址:/group/selectOne

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"id": 0,
	"imageurl": "",
	"name": "",
	"teacherid": 0
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
group group body true Group Group
  id false integer(int32)
  imageurl false string
  name false string
  teacherid false integer(int32)

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

选题管理控制器

添加选题申请信息

接口地址:/selecttitle/add

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"applicationdata": "",
	"id": 0,
	"pass": 0,
	"passdata": "",
	"studentid": 0,
	"titleid": 0
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
selecttitle selecttitle body true 选题表实体类 选题表实体类
  applicationdata 申请日期 false string
  id 自增ID false integer(int32)
  pass 是否通过 false integer(int32)
  passdata 审批日期 false string
  studentid 学生ID false integer(int32)
  titleid 选题ID false integer(int32)

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

查询申请信息是否通过

接口地址:/selecttitle/findRepeat1

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"applicationdata": "",
	"id": 0,
	"pass": 0,
	"passdata": "",
	"studentid": 0,
	"titleid": 0
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
selecttitle selecttitle body true 选题表实体类 选题表实体类
  applicationdata 申请日期 false string
  id 自增ID false integer(int32)
  pass 是否通过 false integer(int32)
  passdata 审批日期 false string
  studentid 学生ID false integer(int32)
  titleid 选题ID false integer(int32)

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

查询重复选题申请信息

接口地址:/selecttitle/findRepeat2

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"applicationdata": "",
	"id": 0,
	"pass": 0,
	"passdata": "",
	"studentid": 0,
	"titleid": 0
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
selecttitle selecttitle body true 选题表实体类 选题表实体类
  applicationdata 申请日期 false string
  id 自增ID false integer(int32)
  pass 是否通过 false integer(int32)
  passdata 审批日期 false string
  studentid 学生ID false integer(int32)
  titleid 选题ID false integer(int32)

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

查询学生所有选题申请信息

接口地址:/selecttitle/getAllByStudent

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"applicationdata": "",
	"id": 0,
	"pass": 0,
	"passdata": "",
	"studentid": 0,
	"titleid": 0
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
selecttitle selecttitle body true 选题表实体类 选题表实体类
  applicationdata 申请日期 false string
  id 自增ID false integer(int32)
  pass 是否通过 false integer(int32)
  passdata 审批日期 false string
  studentid 学生ID false integer(int32)
  titleid 选题ID false integer(int32)

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

通过题目ID查询所有选题申请信息

接口地址:/selecttitle/getAllByTitle

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"applicationdata": "",
	"id": 0,
	"pass": 0,
	"passdata": "",
	"studentid": 0,
	"titleid": 0
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
selecttitle selecttitle body true 选题表实体类 选题表实体类
  applicationdata 申请日期 false string
  id 自增ID false integer(int32)
  pass 是否通过 false integer(int32)
  passdata 审批日期 false string
  studentid 学生ID false integer(int32)
  titleid 选题ID false integer(int32)

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

学生申请不通过

接口地址:/selecttitle/notPass

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"applicationdata": "",
	"id": 0,
	"pass": 0,
	"passdata": "",
	"studentid": 0,
	"titleid": 0
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
selecttitle selecttitle body true 选题表实体类 选题表实体类
  applicationdata 申请日期 false string
  id 自增ID false integer(int32)
  pass 是否通过 false integer(int32)
  passdata 审批日期 false string
  studentid 学生ID false integer(int32)
  titleid 选题ID false integer(int32)

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

学生申请通过

接口地址:/selecttitle/pass

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"applicationdata": "",
	"id": 0,
	"pass": 0,
	"passdata": "",
	"studentid": 0,
	"titleid": 0
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
selecttitle selecttitle body true 选题表实体类 选题表实体类
  applicationdata 申请日期 false string
  id 自增ID false integer(int32)
  pass 是否通过 false integer(int32)
  passdata 审批日期 false string
  studentid 学生ID false integer(int32)
  titleid 选题ID false integer(int32)

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

学生申请撤销选题

接口地址:/selecttitle/reApplicationAfterPass

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"applicationdata": "",
	"id": 0,
	"pass": 0,
	"passdata": "",
	"studentid": 0,
	"titleid": 0
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
selecttitle selecttitle body true 选题表实体类 选题表实体类
  applicationdata 申请日期 false string
  id 自增ID false integer(int32)
  pass 是否通过 false integer(int32)
  passdata 审批日期 false string
  studentid 学生ID false integer(int32)
  titleid 选题ID false integer(int32)

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

学生撤销选题申请信息

接口地址:/selecttitle/reApplicationByStudent

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"applicationdata": "",
	"id": 0,
	"pass": 0,
	"passdata": "",
	"studentid": 0,
	"titleid": 0
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
selecttitle selecttitle body true 选题表实体类 选题表实体类
  applicationdata 申请日期 false string
  id 自增ID false integer(int32)
  pass 是否通过 false integer(int32)
  passdata 审批日期 false string
  studentid 学生ID false integer(int32)
  titleid 选题ID false integer(int32)

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

通过ID查询选题申请信息

接口地址:/selecttitle/selectOne

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"applicationdata": "",
	"id": 0,
	"pass": 0,
	"passdata": "",
	"studentid": 0,
	"titleid": 0
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
selecttitle selecttitle body true 选题表实体类 选题表实体类
  applicationdata 申请日期 false string
  id 自增ID false integer(int32)
  pass 是否通过 false integer(int32)
  passdata 审批日期 false string
  studentid 学生ID false integer(int32)
  titleid 选题ID false integer(int32)

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}

学生学号转学生ID

接口地址:/selecttitle/studentNumberToID

请求方式:POST

请求数据类型:application/json

响应数据类型:application/json;charset=UTF-8

接口描述:

请求示例:

{
	"id": 0,
	"imageurl": "",
	"isdelete": 0,
	"name": "",
	"password": 0,
	"phonenumber": "",
	"prodessionalid": 0,
	"studentid": ""
}

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
student student body true 学生表 学生表
  id 自增ID false integer(int32)
  imageurl 头像图片 false string
  isdelete 删除标记 false integer(int32)
  name 姓名 false string
  password 密码值 false integer(int32)
  phonenumber 联系方式 false string
  prodessionalid 专业编号 false integer(int32)
  studentid 学生学号 false string

响应状态:

状态码 说明 schema
200 OK 通用返回类LPR
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
returnKey 是否成功 boolean
returnObject 返回对象 object
what 做了什么 string
why 为什么错误 string

响应示例:

{
	"returnKey": true,
	"returnObject": {},
	"what": "",
	"why": ""
}