localhost\API\\ api\book\get_one api\book\get_by_key
注意:斜体标注的为我认为本次几乎可以不用考虑的功能
-
登录 (沿用龙哥方式,直接登录,后端判断用户类型) interface commit \ login function: login() parameter: { id, password } return: { (一个登陆状态值,前端解析成功失败用户身份), name, adminID }
-
添加课程 interface commit \ add_course_arrange function: addCourseArrange() parameter: { id, name, year, semester, weeks, maxnum, building, roommember, ?timeslot, credits, maxnum, description } return: {(一个状态值)}——用于描述各种冲突
-
修改课程 interface revise \ edit_course_arrange function: editCourseArrange() parameter: { id, name, year, semester, weeks, maxnum, building, roommember, ?timeslot, credits, maxnum, description } return: { (一个状态值) }——用于描述各种冲突
-
删除课程 interface: revise \ del_course_arrange function: deleteCourseArrange() parameter: { id, name, year, semester, weeks, maxnum, building, roommember, ?timeslot, credits, maxnum } ---确定---> secID return: { (一个状态值) }——用于描述各种冲突
-
排课——上传课表(推荐课表选课,与核心需求关系不大因且需要完成课程表项目) interface:commit\course_arrange function: addCourseArrange() parameter: return: int/str
-
删除、修改课表(同上) interface:revise\course_arrange function: editCourseArrange() parameter: return:
-
确定、拒绝老师课程申请信息(因为需要新建数据表,且与项目着与核心需求关系不大改为上方添加课程) interface:confirm\course_info function: dealCourseInfo() parameter: return:
-
查询学生的GPA(又是一个和选课没啥关系的功能) interface:query\student_gpa function: getStudentGPA(map) parameter: {} return: map
-
确定、拒绝学生中期退课申请 interface:confirm\mid_drop function: dealMidDrop() / confirmMidDrop() 待定 parameter: return:
提供给教师的服务和选课有交集吗???
-
登录 (沿用龙哥方式,直接登录,后端判断用户类型) interface: commit \ login function: login() parameter: { id, password } return: { (一个登陆状态值,前端解析成功失败用户身份), name, studentId }
-
选课01——获取可选课程列表 interface: query \ course_to_select function: getCourseToSelect() parameter: null(现阶段直接获取全部课程数据) return: { courseID, coursename, year, section, credits, timeslotID, day, starttime, endtime, weeks, building, roomnumber, maxnum, currentnum }
-
选课02——提交选课列表(本次我们只做自主选课) interface: commit \ course_select function: selectCourse() parameter: { studentID, secID, semester, year, timeslotID, courseID } return: { (一个状态值) }
-
退课 interface: commit \ course_drop function: dropCourse() parameter: { studentID, secID, semester, year, timeslotID, courseID } return: { (一个状态值) }
-
查询当前已选课程 interface: query \ course_list function: getCourseList() parameter: { studentID } return: { courseID, coursename, year, section, credits, timeslotID, day, starttime, endtime, weeks, building, roomnumber, maxnum, currentnum }
-
查询当前课表 interface: query \ course_list function: getCourseList() parameter: { studentID } return: { courseID, coursename, year, section, credits, timeslotID, day, starttime, endtime, weeks, building, roomnumber, maxnum, currentnum }
-
查询课程成绩 intserface: query\student_grade
-
查询自己某学期的GPA interface:query\student_gpa function: getGPA() parameter: return:
-
评教 interface:commit\course_eval function: addCourseEval() parameter: return:
-
中期退课申请(竖着的steps interface:commit\mid_drop function: addMidDrop() parameter: return:
-
导出课表(前端
-
导出考试记录(前端