Git Product home page Git Product logo

design's Introduction

Design

基于SpringBoot的毕业设计选题系统

接口设计

1.角色信息 - @RequestMapping("/role")

1.1.角色登录

接口名:verifyRole
请求参数:
参数名 类型 说明 备注
roleName String 登录名
passWord String 登录密码
返回参数:
参数名 类型 说明 备注
isSuccessful Boolean 是否成功
roleId Integer 角色ID
roleType Integer 角色类型。
0-领导;
1-管理员

1.2.根据角色ID获取角色信息

接口名:getRoleById
请求参数:
参数名 类型 说明 备注
id Integer 角色ID
返回参数:
参数名 类型 说明 备注
isSuccessful Boolean 是否成功
data Role 角色信息

2.教师信息

2.1.分页获取教师信息

接口名:listTeachersByCurr
请求参数:
参数名 类型 说明 备注
page Integer 页码数
num Integer 每页数量
返回参数:
参数名 类型 说明 备注
isSuccessful Boolean 是否成功
total Integer 数据总数
count Integer 当前页数据数
list List 数据信息

2.2.根据ID获取教师信息

接口名:getTeacherById
请求参数:
参数名 类型 说明 备注
id Integer 教师ID
返回参数:
参数名 类型 说明 备注
isSuccessful Boolean 是否成功
data Entity 教师信息

2.3.根据教师ID和登录密码修改教师登录密码

接口名:updatePasswordById
请求参数:
参数名 类型 说明 备注
id Integer 教师ID
password String 教师登录密码
newPassword String 新登录密码
返回参数:
参数名 类型 说明 备注
isSuccessful Boolean 是否成功
message String 消息

2.4.分页获取所有老师专长信息

接口名:listExpertisesByCurr
请求参数:
参数名 类型 说明 备注
page Integer 页码数
num Integer 每页数量
返回参数:
参数名 类型 说明 备注
isSuccessful Boolean 是否成功
total Integer 数据总数
count Integer 当前页数据数
list List 数据信息

2.5.设置课题的指导老师

接口名:setGuideTeacherForDesigntopic
请求参数:
参数名 类型 说明 备注
dId Integer 课题ID
tId Integer 教师ID
roleType Integer 角色类型
返回参数:
参数名 类型 说明 备注
isSuccessful Boolean 是否成功
message String 消息

3.4.根据ID修改教师院系和专长

3.学生信息

3.1分页获取学生信息

接口名:listStudentsByCurr
请求参数:
参数名 类型 说明 备注
page Integer 页码数
num Integer 每页数量
返回参数:
参数名 类型 说明 备注
isSuccessful Boolean 是否成功
total Integer 数据总数
count Integer 当前页数据数
list List 数据信息

3.2根据学生ID获取学生信息

接口名:getStudentById
请求参数:
参数名 类型 说明 备注
id Integer 学生ID
返回参数:
参数名 类型 说明 备注
isSuccessful Boolean 是否成功
data Entity 学生信息

3.3.根据学生ID和登录密码修改学生登录密码

接口名:updatePasswordById
请求参数:
参数名 类型 说明 备注
id Integer 学生ID
password String 学生登录密码
newPassword String 新登录密码
返回参数:
参数名 类型 说明 备注
isSuccessful Boolean 是否成功
message String 消息

3.4.根据ID修改学生院系和班级

3.5.设置学生的毕业设计课题

接口名:setDesigntopicForStudent
请求参数:
参数名 类型 说明 备注
sId Integer 学生ID
dId Integer 课题ID
roleType Integer 角色类型
返回参数:
参数名 类型 说明 备注
isSuccessful Boolean 是否成功
message String 消息

4.院系信息

4.1.分页获取所有院系信息

接口名:listCollegesByCurr
请求参数:
参数名 类型 说明 备注
page Integer 页码数
num Integer 每页数量
返回参数:
参数名 类型 说明 备注
isSuccessful Boolean 是否成功
total Integer 数据总数
count Integer 当前页数据数
list List 数据信息

5.班级信息

5.1.分页获取所有班级信息

接口名:listClassesByCurr
请求参数:
参数名 类型 说明 备注
page Integer 页码数
num Integer 每页数量
返回参数:
参数名 类型 说明 备注
isSuccessful Boolean 是否成功
total Integer 数据总数
count Integer 当前页数据数
list List 数据信息

6.毕业设计选题信息 - @RequestMapping("/designtopic")

6.1.分页获取不同状态的毕业设计选题

请求参数:
参数名 类型 说明 备注
page Integer 页码数
num Integer 每页数量
status Integer 可选,课题审核状态。
0-未审核;
1-审核中;
2-审核通过;
3-审核未通过
返回参数:
参数名 类型 说明 备注
isSuccessful Boolean 是否成功
total Integer 数据总数
count Integer 当前页数据数
list List 数据信息

6.2.根据ID获取毕业设计题目

请求参数:
参数名 类型 说明 备注
id Integer 题目ID
返回参数:
参数名 类型 说明 备注
isSuccessful Boolean 是否成功
data Designtopic 题目信息

6.3.根据ID修改题目审核状态

请求参数:
参数名 类型 说明 备注
id Integer 题目ID
status Integer 可选,课题审核状态。
0-未审核;
1-审核中;
2-审核通过;
3-审核未通过
返回参数:
参数名 类型 说明 备注
isSuccessful Boolean 是否成功
message String 提示信息

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.