{"use strict";e.r(s),e.d(s,{data:()=>a});const a={key:"v-1362226a",path:"/guide/student.html",title:"1. 学生端",lang:"zh-CN",frontmatter:{},excerpt:"",headers:[{level:3,title:"1.1 登录",slug:"_1-1-登录",children:[]},{level:3,title:"1.2 首页",slug:"_1-2-首页",children:[]},{level:3,title:"1.3 任务中心",slug:"_1-3-任务中心",children:[]},{level:3,title:"1.4 未读消息数量",slug:"_1-4-未读消息数量",children:[]},{level:3,title:"1.5 学科列表",slug:"_1-5-学科列表",children:[]},{level:3,title:"1.6 试卷列表",slug:"_1-6-试卷列表",children:[]},{level:3,title:"1.7 考试记录",slug:"_1-7-考试记录",children:[]},{level:3,title:"1.8 错题本",slug:"_1-8-错题本",children:[]},{level:3,title:"1.9 答题详情",slug:"_1-9-答题详情",children:[]},{level:3,title:"1.10 用户动态",slug:"_1-10-用户动态",children:[]},{level:3,title:"1.11 当前用户信息",slug:"_1-11-当前用户信息",children:[]},{level:3,title:"1.12 修改用户信息",slug:"_1-12-修改用户信息",children:[]},{level:3,title:"1.13 消息列表",slug:"_1-13-消息列表",children:[]},{level:3,title:"1.14 消息标记已读",slug:"_1-14-消息标记已读",children:[]},{level:3,title:"1.15 登出",slug:"_1-15-登出",children:[]},{level:3,title:"1.16 试卷提交",slug:"_1-16-试卷提交",children:[]},{level:3,title:"1.17 答卷查询",slug:"_1-17-答卷查询",children:[]}],filePathRelative:"guide/student.md",git:{updatedTime:1625749245e3,contributors:[{name:"mindskip",email:"mindskip@qq.com",commits:6}]}}},3516:(n,s,e)=>{"use strict";e.r(s),e.d(s,{default:()=>u});const a=(0,e(6252).uE)(' 1. 学生端
1.1 登录
- 接口地址:/api/user/login
- 请求参数:
{\n "userName": "student", //用户名\n "password": "", //密码\n "remember": false //下次自动登录\n}\n
1
2
3
4
5
{\n "userName": "student", //用户名\n "imagePath": "", //头像\n}\n
1
2
3
4
1.2 首页
- 接口地址:/api/student/dashboard/index
- 请求参数:无
- 返回参数:
{\n "fixedPaper": [ //固定试卷\n {\n "id": 2399, //试卷Id\n "name": "test33333", //试卷名称\n "limitStartTime": null, //考试开始时间\n "limitEndTime": null //考试结束时间\n }\n ],\n "timeLimitPaper": [] //时段试卷\n}\n
1
2
3
4
5
6
7
8
9
10
11
1.3 任务中心
- 接口地址:/api/student/dashboard/task
- 请求参数:无
- 返回参数:
[\n {\n "id": 9, //任务id\n "title": "2021-04-25作业", //任务标题\n "paperItems": [\n {\n "examPaperId": 181, //任务试卷id\n "examPaperName": "第一次出卷", //任务试卷名称\n "examPaperAnswerId": 579, //答卷id\n "status": 2 //答卷状态\n }\n ]\n }\n ]\n
1
2
3
4
5
6
7
8
9
10
11
12
13
14
1.4 未读消息数量
- 接口地址:/api/student/user/message/unreadCount
- 请求参数:无
- 返回参数:
{\n "code": 1,\n "message": "成功",\n "response": 0 //未读消息数量\n}\n
1
2
3
4
5
1.5 学科列表
- 接口地址:/api/student/education/subject/list
- 请求参数:无
- 返回参数:
{\n "code": 1,\n "message": "成功",\n "response": [\n {\n "id": "18", //学科id\n "name": "英语" //学科名称\n }\n ]\n}\n
1
2
3
4
5
6
7
8
9
10
1.6 试卷列表
- 接口地址:/api/student/exam/paper/pageList
- 请求参数:
{\n "paperType": 1, //试卷类型\n "subjectId": 158, //学科id\n "pageIndex": 1, //页数\n "pageSize": 10 //每页条数\n}\n
1
2
3
4
5
6
{\n "code": 1,\n "message": "成功",\n "response": {\n "total": 1,\n "list": [\n {\n "id": 2520, //试卷id\n "name": "生理卫生", //试卷名称\n "questionCount": 1, //题目数\n "score": 20, //试卷分数\n "createTime": "2021-05-31 13:34:49", //创建时间\n "createUser": 2, //创建人\n "subjectId": 158, //学科\n "subjectName": "英语", //学科\n "paperType": 1, //试卷类型\n "frameTextContentId": 9016 //试卷内容\n }\n ]\n }\n}\n
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
1.7 考试记录
- 接口地址:/api/student/exampaper/answer/pageList
- 请求参数:
{\n "pageIndex": 1, //页码\n "pageSize": 10 //每页条数\n}\n
1
2
3
4
{\n "code": 1,\n "message": "成功",\n "response": {\n "total": 6204,\n "list": [\n {\n "id": 6534, //试卷id\n "createTime": "2021-06-01 17:56:38", //创建时间\n "userScore": "0", //考试分数\n "subjectName": "数学", //考试学科\n "subjectId": 129, //学科id\n "questionCount": 1, //题目数量\n "questionCorrect": 0, //题目正确数\n "paperScore": "3", //试卷总分\n "doTime": "4 秒", //耗时\n "paperType": 7, //试卷类型\n "systemScore": "0", //系统批改得分\n "status": 2, //试卷状态\n "paperName": "智能训练试卷 - 1845", //试卷名称\n "userName": null //用户名\n }\n ]\n }\n}\n
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
1.8 错题本
- 接口地址:/api/student/question/answer/page
- 请求参数:
{\n "pageIndex": 1, //页码\n "pageSize": 10 //每页条数\n}\n
1
2
3
4
{\n "code": 1,\n "message": "成功",\n "response": {\n "total": 17002,\n "list": [\n {\n "id": 24928, //题目id\n "questionType": 1, //题型\n "createTime": "2021-06-02 16:07:11", //创建时间\n "subjectName": "语文", //学科\n "shortTitle": "666" //题干\n }\n ]\n }\n}\n
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
1.9 答题详情
- 接口地址:/api/student/question/answer/select/25067
- 请求参数:
{\n "pageIndex": 1, //页码\n "pageSize": 10 //每页条数\n}\n
1
2
3
4
{\n "code": 1,\n "message": "成功",\n "response": {\n "questionVM": {\n "id": 507, //题目id\n "questionType": 1, //题目类型\n "subjectId": 46, //学科id\n "title": "111", //题干\n "gradeLevel": 12, //年级\n "items": [ //选项\n {\n "prefix": "A", //选项\n "content": "A", //选项内容\n "score": null //选项分数\n }\n ],\n "analyze": "D", //解析\n "correctArray": null, //标答\n "correct": "D", //标答\n "score": "2", //分数\n "difficult": 3, //难度\n "itemOrder": null //排序\n },\n "questionAnswerVM": { //用户答案\n "id": 25067, \n "questionId": 507, //题目id\n "doRight": false, //是否正确\n "content": "A", //用户答案\n "itemOrder": 2, //排序\n "contentArray": null, //用户答案\n "score": "0", //得分\n "questionScore": "2" //题目分数\n }\n }\n}\n
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
1.10 用户动态
- 接口地址:/api/student/user/log
- 请求参数:无
- 返回参数:
{\n "code": 1,\n "message": "成功",\n "response": [\n {\n "id": 1812, \n "userId": 1, //用户id\n "userName": "student", //用户名\n "realName": "Test", //用户真实姓名\n "content": "student 登录了学多多考试系统", //动态内容\n "createTime": "2021-06-08 17:12:50" //创建时间\n }\n ]\n}\n
1
2
3
4
5
6
7
8
9
10
11
12
13
14
1.11 当前用户信息
- 接口地址:/api/student/user/current
- 请求参数:无
- 返回参数:
{\n "code": 1,\n "message": "成功",\n "response": {\n "id": 1,\n "userUuid": "d2d29da2-dcb3-4013-b874-727626236f47",\n "userName": "student", //用户名\n "realName": "Test", //真实姓名\n "age": 18, //年龄\n "role": 1, //角色\n "sex": 1, //性别\n "birthDay": "2019-09-01 00:00:00", //生日\n "phone": "158800882", //手机号\n "lastActiveTime": "",\n "createTime": "2019-09-07 18:55:02",\n "modifyTime": "2021-06-09 17:04:31",\n "status": 1, //状态\n "userLevel": 1, //年级\n "classes": "1班", //用户班级\n "imagePath": "" //用户头像\n }\n}\n
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
1.12 修改用户信息
- 接口地址:/api/student/user/update
- 请求参数:
{\n "id": 1,\n "userUuid": "d2d29da2-dcb3-4013-b874-727626236f47",\n "userName": "student", //用户名\n "realName": "Test", //真实姓名\n "age": 18, //年龄\n "role": 1, //角色\n "sex": 1, //性别\n "birthDay": "2019-09-01 00:00:00", //生日\n "phone": "158800882", //手机号\n "lastActiveTime": "",\n "createTime": "2019-09-07 18:55:02",\n "modifyTime": "2021-06-09 17:04:31",\n "status": 1, //状态\n "userLevel": 1, //年级\n "classes": "1班", //用户班级\n "imagePath": "" //用户头像\n}\n
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{\n "code": 1,\n "message": "成功",\n "response": null\n}\n
1
2
3
4
5
1.13 消息列表
- 接口地址:/api/student/user/message/page
- 请求参数:
{\n "pageIndex": 1, //页码\n "pageSize": 10 //每页条数\n}\n
1
2
3
4
{\n "code": 1,\n "message": "成功",\n "response": {\n "total": 5,\n "list": [\n {\n "id": 11,\n "title": "rwerw", //消息标题\n "messageId": 10,\n "content": "sfsdf", //消息内容\n "readed": true, //是否已读\n "createTime": "2021-06-11 16:32:40", //创建时间\n "sendUserName": "admin" //发送人\n }\n ]\n }\n}\n
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
1.14 消息标记已读
- 接口地址:/api/student/user/message/read/14
- 请求参数:无
- 返回参数:
{\n "code": 1,\n "message": "成功",\n "response": null\n}\n
1
2
3
4
5
1.15 登出
- 接口地址:/api/user/logout
- 请求参数:无
- 返回参数:
{\n "code": 1,\n "message": "成功",\n "response": null\n}\n
1
2
3
4
5
1.16 试卷提交
- 接口地址:/api/student/exampaper/answer/answerSubmit
- 请求参数:
{\n "questionId": null, \n "doTime": 14, //耗时\n "answerItems": [\n {\n "questionId": 4, //题目id\n "content": null, //答题内容\n "contentArray": [ //填空题内容\n "测试",\n "1"\n ],\n "completed": true, //是否完成\n "itemOrder": 1 //题目序号\n } \n ],\n "id": 4 //试卷id\n}\n
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{\n "code": 1,\n "message": "成功",\n "response": "2" //试卷得分\n}\n
1
2
3
4
5
1.17 答卷查询
- 接口地址:/api/student/exampaper/answer/read/4
- 请求参数:无
- 返回参数:
{\n "code": 1,\n "message": "成功",\n "response": {\n "paper": { //试卷信息\n "id": 4, //试卷id\n "level": 1, //年级\n "subjectId": 1, //学科\n "paperType": 4, //试卷类型\n "name": "限时考试二", //试卷名称\n "suggestTime": 20, //考试时长\n "limitDateTime": [ //考试时间限制\n "2021-06-22 00:00:00",\n "2021-08-06 00:00:00"\n ],\n "titleItems": [\n {\n "name": "一、完成题目", //标题\n "questionItems": [ //题目列表\n {\n "id": 4, //题目id\n "questionType": 4, //题目类型\n "subjectId": 1, //学科\n "title": "曲项向天歌红掌拨清波", //题目标题\n "gradeLevel": 1, //年级\n "items": [ //题目选项\n {\n "prefix": "1", //选项标识\n "content": "鹅鹅鹅", //选项内容\n "score": "2" //选项分数\n },\n {\n "prefix": "2",\n "content": "白毛浮绿水",\n "score": "2"\n }\n ],\n "analyze": "咏鹅", //解析\n "correctArray": [ //标答\n "鹅鹅鹅",\n "白毛浮绿水"\n ],\n "correct": "", //标答\n "score": "4", //题目分数\n "difficult": 4, //题目难度\n "itemOrder": 1 //题目顺序\n }\n ]\n }\n ],\n "score": "18" //试卷分数\n },\n "answer": { //答卷信息\n "id": 4, //答卷id\n "doTime": 14, //耗时\n "score": "2", //得分\n "answerItems": [ //答题信息\n {\n "id": 12, //答题id\n "questionId": 4, //题目id\n "doRight": null, //是否正确\n "content": null, //答题内容\n "itemOrder": 1, //题序\n "contentArray": [ //答题内容\n "测试",\n "1"\n ],\n "score": "0", //得分\n "questionScore": "4" //题目分数\n }\n ]\n }\n }\n}\n
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
',68),u={render:function(n,s){return a}}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/v-1362226a.a89be70b.js b/docs/assets/js/v-1362226a.a89be70b.js
deleted file mode 100644
index 1ee9e07b..00000000
--- a/docs/assets/js/v-1362226a.a89be70b.js
+++ /dev/null
@@ -1 +0,0 @@
-(self.webpackChunkxzs_docs=self.webpackChunkxzs_docs||[]).push([[909],{5785:(n,s,e)=>{"use strict";e.r(s),e.d(s,{data:()=>a});const a={key:"v-1362226a",path:"/guide/student.html",title:"1. 学生端",lang:"zh-CN",frontmatter:{},excerpt:"",headers:[{level:3,title:"1.1 登录",slug:"_1-1-登录",children:[]},{level:3,title:"1.2 首页",slug:"_1-2-首页",children:[]},{level:3,title:"1.3 任务中心",slug:"_1-3-任务中心",children:[]},{level:3,title:"1.4 未读消息数量",slug:"_1-4-未读消息数量",children:[]},{level:3,title:"1.5 学科列表",slug:"_1-5-学科列表",children:[]},{level:3,title:"1.6 试卷列表",slug:"_1-6-试卷列表",children:[]},{level:3,title:"1.7 考试记录",slug:"_1-7-考试记录",children:[]},{level:3,title:"1.8 错题本",slug:"_1-8-错题本",children:[]},{level:3,title:"1.9 答题详情",slug:"_1-9-答题详情",children:[]},{level:3,title:"1.10 用户动态",slug:"_1-10-用户动态",children:[]},{level:3,title:"1.11 当前用户信息",slug:"_1-11-当前用户信息",children:[]},{level:3,title:"1.12 修改用户信息",slug:"_1-12-修改用户信息",children:[]},{level:3,title:"1.13 消息列表",slug:"_1-13-消息列表",children:[]},{level:3,title:"1.14 消息标记已读",slug:"_1-14-消息标记已读",children:[]},{level:3,title:"1.15 登出",slug:"_1-15-登出",children:[]},{level:3,title:"1.16 试卷提交",slug:"_1-16-试卷提交",children:[]}],filePathRelative:"guide/student.md",git:{updatedTime:1625638055e3,contributors:[{name:"mindskip",email:"mindskip@qq.com",commits:5}]}}},7874:(n,s,e)=>{"use strict";e.r(s),e.d(s,{default:()=>u});const a=(0,e(6252).uE)(' 1. 学生端
1.1 登录
- 接口地址:/api/user/login
- 请求参数:
{\n "userName": "student", //用户名\n "password": "", //密码\n "remember": false //下次自动登录\n}\n
1
2
3
4
5
{\n "userName": "student", //用户名\n "imagePath": "", //头像\n}\n
1
2
3
4
1.2 首页
- 接口地址:/api/student/dashboard/index
- 请求参数:无
- 返回参数:
{\n "fixedPaper": [ //固定试卷\n {\n "id": 2399, //试卷Id\n "name": "test33333", //试卷名称\n "limitStartTime": null, //考试开始时间\n "limitEndTime": null //考试结束时间\n }\n ],\n "timeLimitPaper": [] //时段试卷\n}\n
1
2
3
4
5
6
7
8
9
10
11
1.3 任务中心
- 接口地址:/api/student/dashboard/task
- 请求参数:无
- 返回参数:
[\n {\n "id": 9, //任务id\n "title": "2021-04-25作业", //任务标题\n "paperItems": [\n {\n "examPaperId": 181, //任务试卷id\n "examPaperName": "第一次出卷", //任务试卷名称\n "examPaperAnswerId": 579, //答卷id\n "status": 2 //答卷状态\n }\n ]\n }\n ]\n
1
2
3
4
5
6
7
8
9
10
11
12
13
14
1.4 未读消息数量
- 接口地址:/api/student/user/message/unreadCount
- 请求参数:无
- 返回参数:
{\n "code": 1,\n "message": "成功",\n "response": 0 //未读消息数量\n}\n
1
2
3
4
5
1.5 学科列表
- 接口地址:/api/student/education/subject/list
- 请求参数:无
- 返回参数:
{\n "code": 1,\n "message": "成功",\n "response": [\n {\n "id": "18", //学科id\n "name": "英语" //学科名称\n }\n ]\n}\n
1
2
3
4
5
6
7
8
9
10
1.6 试卷列表
- 接口地址:/api/student/exam/paper/pageList
- 请求参数:
{\n "paperType": 1, //试卷类型\n "subjectId": 158, //学科id\n "pageIndex": 1, //页数\n "pageSize": 10 //每页条数\n}\n
1
2
3
4
5
6
{\n "code": 1,\n "message": "成功",\n "response": {\n "total": 1,\n "list": [\n {\n "id": 2520, //试卷id\n "name": "生理卫生", //试卷名称\n "questionCount": 1, //题目数\n "score": 20, //试卷分数\n "createTime": "2021-05-31 13:34:49", //创建时间\n "createUser": 2, //创建人\n "subjectId": 158, //学科\n "subjectName": "英语", //学科\n "paperType": 1, //试卷类型\n "frameTextContentId": 9016 //试卷内容\n }\n ]\n }\n}\n
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
1.7 考试记录
- 接口地址:/api/student/exampaper/answer/pageList
- 请求参数:
{\n "pageIndex": 1, //页码\n "pageSize": 10 //每页条数\n}\n
1
2
3
4
{\n "code": 1,\n "message": "成功",\n "response": {\n "total": 6204,\n "list": [\n {\n "id": 6534, //试卷id\n "createTime": "2021-06-01 17:56:38", //创建时间\n "userScore": "0", //考试分数\n "subjectName": "数学", //考试学科\n "subjectId": 129, //学科id\n "questionCount": 1, //题目数量\n "questionCorrect": 0, //题目正确数\n "paperScore": "3", //试卷总分\n "doTime": "4 秒", //耗时\n "paperType": 7, //试卷类型\n "systemScore": "0", //系统批改得分\n "status": 2, //试卷状态\n "paperName": "智能训练试卷 - 1845", //试卷名称\n "userName": null //用户名\n }\n ]\n }\n}\n
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
1.8 错题本
- 接口地址:/api/student/question/answer/page
- 请求参数:
{\n "pageIndex": 1, //页码\n "pageSize": 10 //每页条数\n}\n
1
2
3
4
{\n "code": 1,\n "message": "成功",\n "response": {\n "total": 17002,\n "list": [\n {\n "id": 24928, //题目id\n "questionType": 1, //题型\n "createTime": "2021-06-02 16:07:11", //创建时间\n "subjectName": "语文", //学科\n "shortTitle": "666" //题干\n }\n ]\n }\n}\n
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
1.9 答题详情
- 接口地址:/api/student/question/answer/select/25067
- 请求参数:
{\n "pageIndex": 1, //页码\n "pageSize": 10 //每页条数\n}\n
1
2
3
4
{\n "code": 1,\n "message": "成功",\n "response": {\n "questionVM": {\n "id": 507, //题目id\n "questionType": 1, //题目类型\n "subjectId": 46, //学科id\n "title": "111", //题干\n "gradeLevel": 12, //年级\n "items": [ //选项\n {\n "prefix": "A", //选项\n "content": "A", //选项内容\n "score": null //选项分数\n }\n ],\n "analyze": "D", //解析\n "correctArray": null, //标答\n "correct": "D", //标答\n "score": "2", //分数\n "difficult": 3, //难度\n "itemOrder": null //排序\n },\n "questionAnswerVM": { //用户答案\n "id": 25067, \n "questionId": 507, //题目id\n "doRight": false, //是否正确\n "content": "A", //用户答案\n "itemOrder": 2, //排序\n "contentArray": null, //用户答案\n "score": "0", //得分\n "questionScore": "2" //题目分数\n }\n }\n}\n
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
1.10 用户动态
- 接口地址:/api/student/user/log
- 请求参数:无
- 返回参数:
{\n "code": 1,\n "message": "成功",\n "response": [\n {\n "id": 1812, \n "userId": 1, //用户id\n "userName": "student", //用户名\n "realName": "Test", //用户真实姓名\n "content": "student 登录了学多多考试系统", //动态内容\n "createTime": "2021-06-08 17:12:50" //创建时间\n }\n ]\n}\n
1
2
3
4
5
6
7
8
9
10
11
12
13
14
1.11 当前用户信息
- 接口地址:/api/student/user/current
- 请求参数:无
- 返回参数:
{\n "code": 1,\n "message": "成功",\n "response": {\n "id": 1,\n "userUuid": "d2d29da2-dcb3-4013-b874-727626236f47",\n "userName": "student", //用户名\n "realName": "Test", //真实姓名\n "age": 18, //年龄\n "role": 1, //角色\n "sex": 1, //性别\n "birthDay": "2019-09-01 00:00:00", //生日\n "phone": "158800882", //手机号\n "lastActiveTime": "",\n "createTime": "2019-09-07 18:55:02",\n "modifyTime": "2021-06-09 17:04:31",\n "status": 1, //状态\n "userLevel": 1, //年级\n "classes": "1班", //用户班级\n "imagePath": "" //用户头像\n }\n}\n
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
1.12 修改用户信息
- 接口地址:/api/student/user/update
- 请求参数:
{\n "id": 1,\n "userUuid": "d2d29da2-dcb3-4013-b874-727626236f47",\n "userName": "student", //用户名\n "realName": "Test", //真实姓名\n "age": 18, //年龄\n "role": 1, //角色\n "sex": 1, //性别\n "birthDay": "2019-09-01 00:00:00", //生日\n "phone": "158800882", //手机号\n "lastActiveTime": "",\n "createTime": "2019-09-07 18:55:02",\n "modifyTime": "2021-06-09 17:04:31",\n "status": 1, //状态\n "userLevel": 1, //年级\n "classes": "1班", //用户班级\n "imagePath": "" //用户头像\n}\n
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{\n "code": 1,\n "message": "成功",\n "response": null\n}\n
1
2
3
4
5
1.13 消息列表
- 接口地址:/api/student/user/message/page
- 请求参数:
{\n "pageIndex": 1, //页码\n "pageSize": 10 //每页条数\n}\n
1
2
3
4
{\n "code": 1,\n "message": "成功",\n "response": {\n "total": 5,\n "list": [\n {\n "id": 11,\n "title": "rwerw", //消息标题\n "messageId": 10,\n "content": "sfsdf", //消息内容\n "readed": true, //是否已读\n "createTime": "2021-06-11 16:32:40", //创建时间\n "sendUserName": "admin" //发送人\n }\n ]\n }\n}\n
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
1.14 消息标记已读
- 接口地址:/api/student/user/message/read/14
- 请求参数:无
- 返回参数:
{\n "code": 1,\n "message": "成功",\n "response": null\n}\n
1
2
3
4
5
1.15 登出
- 接口地址:/api/user/logout
- 请求参数:无
- 返回参数:
{\n "code": 1,\n "message": "成功",\n "response": null\n}\n
1
2
3
4
5
1.16 试卷提交
- 接口地址:/api/student/exampaper/answer/answerSubmit
- 请求参数:
{\n "questionId": null, \n "doTime": 14, //耗时\n "answerItems": [\n {\n "questionId": 4, //题目id\n "content": null, //答题内容\n "contentArray": [ //填空题内容\n "测试",\n "1"\n ],\n "completed": true, //是否完成\n "itemOrder": 1 //题目序号\n } \n ],\n "id": 4 //试卷id\n}\n
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{\n "code": 1,\n "message": "成功",\n "response": "2" //试卷得分\n}\n
1
2
3
4
5
',65),u={render:function(n,s){return a}}}}]);
\ No newline at end of file
diff --git a/docs/guide/admin.html b/docs/guide/admin.html
index f8a13b1c..b48a27cf 100644
--- a/docs/guide/admin.html
+++ b/docs/guide/admin.html
@@ -2,7 +2,7 @@
3. 管理端 | 学之思教程
-
+
@@ -165,6 +165,6 @@
]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
-
+
diff --git a/docs/guide/database.html b/docs/guide/database.html
index 188967c7..df5e2383 100644
--- a/docs/guide/database.html
+++ b/docs/guide/database.html
@@ -2,11 +2,11 @@
数据库设计 | 学之思教程
-
+
数据库设计
1. 试卷表
| 字段名 | 类型 | 注释 |
|---|
| id | int | |
| name | varchar | 试卷名称 |
| subject_id | int | 学科 |
| paper_type | int | 试卷类型( 1.固定试卷 4.时段试卷 6.任务试卷 ) |
| grade_level | int | 年级 |
| score | int | 试卷总分(千分制) |
| question_count | int | 题目数量 |
| suggest_time | int | 建议时长(分钟) |
| limit_start_time | datetime | 时段试卷 开始时间 |
| limit_end_time | datetime | 时段试卷 结束时间 |
| frame_text_content_id | int | 试卷框架 内容为JSON |
| create_user | int | |
| create_time | datetime | |
| deleted | bit | |
| task_exam_id | int | |
2. 试卷答案表
- 表名:t_exam_paper_answer
- 字段注释:
| 字段名 | 类型 | 注释 |
|---|
| id | int | |
| exam_paper_id | int | |
| paper_name | varchar | 试卷名称 |
| paper_type | int | 试卷类型( 1.固定试卷 4.时段试卷 6.任务试卷 ) |
| subject_id | int | 学科 |
| system_score | int | 系统判定得分 |
| user_score | int | 最终得分(千分制) |
| paper_score | int | 试卷总分 |
| question_correct | int | 做对题目数量 |
| question_count | int | 题目总数量 |
| do_time | int | 做题时间(秒) |
| status | int | 试卷状态(1待判分 2完成) |
| create_user | int | 学生 |
| create_time | datetime | 提交时间 |
| task_exam_id | int | |
3. 试卷题目答案表
- 表名:t_exam_paper_question_customer_answer
- 字段注释:
| 字段名 | 类型 | 注释 |
|---|
| id | int | |
| question_id | int | 题目Id |
| exam_paper_id | int | 答案Id |
| exam_paper_answer_id | int | |
| question_type | int | 题型 |
| subject_id | int | 学科 |
| customer_score | int | 得分 |
| question_score | int | 题目原始分数 |
| question_text_content_id | int | 问题内容 |
| answer | varchar | 做题答案 |
| text_content_id | int | 做题内容 |
| do_right | bit | 是否正确 |
| create_user | int | 做题人 |
| create_time | datetime | |
| item_order | int | |
4. 消息表
| 字段名 | 类型 | 注释 |
|---|
| id | int | |
| title | varchar | 标题 |
| content | varchar | 内容 |
| create_time | datetime | |
| send_user_id | int | 发送者用户ID |
| send_user_name | varchar | 发送者用户名 |
| send_real_name | varchar | 发送者真实姓名 |
| receive_user_count | int | 接收人数 |
| read_count | int | 已读人数 |
5. 用户消息表
| 字段名 | 类型 | 注释 |
|---|
| id | int | |
| message_id | int | 消息内容ID |
| receive_user_id | int | 接收人ID |
| receive_user_name | varchar | 接收人用户名 |
| receive_real_name | varchar | 接收人真实姓名 |
| readed | bit | 是否已读 |
| create_time | datetime | |
| read_time | datetime | 阅读时间 |
6. 题目表
| 字段名 | 类型 | 注释 |
|---|
| id | int | |
| question_type | int | 1.单选题 2.多选题 3.判断题 4.填空题 5.简答题 |
| subject_id | int | 学科 |
| score | int | 题目总分(千分制) |
| grade_level | int | 级别 |
| difficult | int | 题目难度 |
| correct | text | 正确答案 |
| info_text_content_id | int | 题目 填空、 题干、解析、答案等信息 |
| create_user | int | 创建人 |
| status | int | 1.正常 |
| create_time | datetime | 创建时间 |
| deleted | bit | |
7. 学科表
| 字段名 | 类型 | 注释 |
|---|
| id | int | |
| name | varchar | 语文 数学 英语 等 |
| level | int | 年级 (1-12) 小学 初中 高中 大学 |
| level_name | varchar | 一年级、二年级等 |
| item_order | int | 排序 |
| deleted | bit | |
8. 任务表
| 字段名 | 类型 | 注释 |
|---|
| id | int | |
| title | varchar | |
| grade_level | int | 级别 |
| frame_text_content_id | int | 任务框架 内容为JSON |
| create_user | int | |
| create_time | datetime | |
| deleted | bit | |
| create_user_name | varchar | |
9. 用户任务表
- 表名:t_task_exam_customer_answer
- 字段注释:
| 字段名 | 类型 | 注释 |
|---|
| id | int | |
| task_exam_id | int | |
| create_user | int | |
| create_time | datetime | |
| text_content_id | int | 任务完成情况(Json) |
10. 文本表
| 字段名 | 类型 | 注释 |
|---|
| id | int | |
| content | text | |
| create_time | datetime | |
11. 用户表
| 字段名 | 类型 | 注释 |
|---|
| id | int | |
| user_uuid | varchar | |
| user_name | varchar | 用户名 |
| password | varchar | |
| real_name | varchar | 真实姓名 |
| age | int | |
| sex | int | 1.男 2女 |
| birth_day | datetime | |
| user_level | int | 学生年级(1-12) |
| phone | varchar | |
| role | int | 1.学生 3.管理员 |
| status | int | 1.启用 2禁用 |
| image_path | varchar | 头像地址 |
| create_time | datetime | |
| modify_time | datetime | |
| last_active_time | datetime | |
| deleted | bit | 是否删除 |
| wx_open_id | varchar | 微信openId |
12. 用户日志表
| 字段名 | 类型 | 注释 |
|---|
| id | int | |
| user_id | int | 用户id |
| user_name | varchar | 用户名 |
| real_name | varchar | 真实姓名 |
| content | text | 内容 |
| create_time | datetime | 时间 |
13. 用户Token表
| 字段名 | 类型 | 注释 |
|---|
| id | int | |
| token | varchar | |
| user_id | int | 用户Id |
| wx_open_id | varchar | 微信openId |
| create_time | datetime | |
| end_time | datetime | |
| user_name | varchar | 用户名 |
-
+
diff --git a/docs/guide/deploy.html b/docs/guide/deploy.html
index 86fbedcc..2b5c8949 100644
--- a/docs/guide/deploy.html
+++ b/docs/guide/deploy.html
@@ -2,7 +2,7 @@
项目部署 | 学之思教程
-
+
@@ -22,6 +22,6 @@
1
2
3
4
5
6
7
8
9
10
11
方式三:docker部署
docker pull registry.cn-hangzhou.aliyuncs.com/mindskip/xzs:v3.3.0
docker run -d --name xzs --privileged -it -d -p 8001:8001 -v /etc/localtime:/etc/localtime:ro registry.cn-hangzhou.aliyuncs.com/mindskip/xzs:v3.3.0 /usr/sbin/init
1
2
-
+
diff --git a/docs/guide/develop.html b/docs/guide/develop.html
index 10884c1f..48387fc2 100644
--- a/docs/guide/develop.html
+++ b/docs/guide/develop.html
@@ -2,7 +2,7 @@
项目开发 | 学之思教程
-
+
@@ -11,6 +11,6 @@ npm install --registry https://registry.npm.taobao.org
1
2
微信小程序开发
- 去腾讯小程序官网注册账号,拿到appid和secret信息
- 下载好微信小程序开发工具
- 打开工具,导入代码 \source\wx\xzs-student
- 修改application.yml文件里的wx配置下面的appid和secret
- 启动小程序开发工具
-
+
diff --git a/docs/guide/feature.html b/docs/guide/feature.html
index 83f47248..82680e98 100644
--- a/docs/guide/feature.html
+++ b/docs/guide/feature.html
@@ -2,11 +2,11 @@
功能列表 | 学之思教程
-
+
-
+
diff --git a/docs/guide/skill.html b/docs/guide/skill.html
index fa717385..d7987a37 100644
--- a/docs/guide/skill.html
+++ b/docs/guide/skill.html
@@ -2,11 +2,11 @@
技术栈 | 学之思教程
-
+
技术栈
运行环境
| 环境 | 版本 |
|---|
| 操作系统 | Windows / Linux |
| Jdk | 1.8 |
| Redis | 6.0 |
| Mysql | 8.0 |
后台系统
- spring-boot 2.1.6.RELEASE
- spring-boot-security 用户登录验证
- undertow web容器
- mysql 最流行的开源数据库
- redis 缓存,提升系统性能
- mybatis 数据库中间件
- hikari 速度最快的数据库连接池
- 七牛云存储 分布式文件存储中心
前台系统
- vue 采用新版,使用了vue-cli4搭建的系统,减少大量配置文件
- element-ui 最流行的vue UI框架
- vue-element-admin 深度定制版
- echarts 图表统计
- ueditor 深度定制版
微信小程序
架构图

-
+
diff --git a/docs/guide/student.html b/docs/guide/student.html
index 02ce676f..3792a376 100644
--- a/docs/guide/student.html
+++ b/docs/guide/student.html
@@ -2,11 +2,11 @@
1. 学生端 | 学之思教程
-
+
- 1. 学生端
1.1 登录
- 接口地址:/api/user/login
- 请求参数:
{
+ 1. 学生端
1.1 登录
- 接口地址:/api/user/login
- 请求参数:
{
"userName": "student", //用户名
"password": "", //密码
"remember": false //下次自动登录
@@ -284,7 +284,81 @@
"message": "成功",
"response": "2" //试卷得分
}
-
1
2
3
4
5
-
+
1
2
3
4
5
1.17 答卷查询
- 接口地址:/api/student/exampaper/answer/read/4
- 请求参数:无
- 返回参数:
{
+ "code": 1,
+ "message": "成功",
+ "response": {
+ "paper": { //试卷信息
+ "id": 4, //试卷id
+ "level": 1, //年级
+ "subjectId": 1, //学科
+ "paperType": 4, //试卷类型
+ "name": "限时考试二", //试卷名称
+ "suggestTime": 20, //考试时长
+ "limitDateTime": [ //考试时间限制
+ "2021-06-22 00:00:00",
+ "2021-08-06 00:00:00"
+ ],
+ "titleItems": [
+ {
+ "name": "一、完成题目", //标题
+ "questionItems": [ //题目列表
+ {
+ "id": 4, //题目id
+ "questionType": 4, //题目类型
+ "subjectId": 1, //学科
+ "title": "曲项向天歌红掌拨清波", //题目标题
+ "gradeLevel": 1, //年级
+ "items": [ //题目选项
+ {
+ "prefix": "1", //选项标识
+ "content": "鹅鹅鹅", //选项内容
+ "score": "2" //选项分数
+ },
+ {
+ "prefix": "2",
+ "content": "白毛浮绿水",
+ "score": "2"
+ }
+ ],
+ "analyze": "咏鹅", //解析
+ "correctArray": [ //标答
+ "鹅鹅鹅",
+ "白毛浮绿水"
+ ],
+ "correct": "", //标答
+ "score": "4", //题目分数
+ "difficult": 4, //题目难度
+ "itemOrder": 1 //题目顺序
+ }
+ ]
+ }
+ ],
+ "score": "18" //试卷分数
+ },
+ "answer": { //答卷信息
+ "id": 4, //答卷id
+ "doTime": 14, //耗时
+ "score": "2", //得分
+ "answerItems": [ //答题信息
+ {
+ "id": 12, //答题id
+ "questionId": 4, //题目id
+ "doRight": null, //是否正确
+ "content": null, //答题内容
+ "itemOrder": 1, //题序
+ "contentArray": [ //答题内容
+ "测试",
+ "1"
+ ],
+ "score": "0", //得分
+ "questionScore": "4" //题目分数
+ }
+ ]
+ }
+ }
+}
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
+
diff --git a/docs/guide/video.html b/docs/guide/video.html
index 9567e010..438c50de 100644
--- a/docs/guide/video.html
+++ b/docs/guide/video.html
@@ -2,7 +2,7 @@
视频教程 | 学之思教程
-
+
@@ -24,6 +24,6 @@
1
第六部分:CentOS系统部署
- 下载好xshell和xftp,这个工具用于连接centos服务器的
- 可在群文件中找到Xftp-7.0.0063p 和 Xshell-7.0.0065p ,直接安装
- 打开xshell , 连接准备好的centos服务器
- 服务器中要安装好 redis、mysql 8 、jdk 1.8、nginx , 可以自行搜索教程进行安装
- 安装好后,我们检测下是否都在运行
- 创建数据库xzs、导入xzs-mysql.sql脚本
- 登录mysql,执行导入命令:
mysql -u root -p -D xzs < /usr/local/xzs/sql/xzs-mysql.sql
1
- 数据导入成功后,可以登录mysql数据库,检查一下是否成功
- 打包jar文件,注意修改配置文件application-prod.yml ,正式环境用的这个文件,这里里面的数据库连接地址和账号等,由于都是服务器本地的,都用localhost即可
- 上传jar包到服务器中
- 启动学之思后端程序
nohup java -Duser.timezone=Asia/Shanghai -jar -Dspring.profiles.active=prod xzs-3.3.0.jar > start1.log 2>&1 &
1
第七部分:使用手册
-
+
diff --git a/docs/guide/wx.html b/docs/guide/wx.html
index 1fa3cd88..25590f61 100644
--- a/docs/guide/wx.html
+++ b/docs/guide/wx.html
@@ -2,7 +2,7 @@
2. 微信小程序端 | 学之思教程
-
+
@@ -15,6 +15,6 @@
"response": "950efd96-ecd1-4482-9204-c54cd3325a8a" //登录Token
}
1
2
3
4
5
-
+
diff --git a/docs/index.html b/docs/index.html
index c25c7cc2..4b67442b 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -2,11 +2,11 @@
学之思教程
-
+
项目介绍
学之思开源考试系统是一款 java + vue 的前后端分离的考试系统。主要优点是开发、部署简单快捷、界面设计友好、代码结构清晰。支持web端和微信小程序,能覆盖到pc机和手机等设备。 支持多种部署方式:集成部署、前后端分离部署、docker部署。
- 码云最有价值开源项目
- 累计star数超过 7000+
- 开源在线考试系统排行首位
- 交流人数超过 5000+
使用须知
开源协议: AGPL-3.0
仓库地址
码云
GitHub
QQ交流群
- 开源交流群⑪:626073476
- 开源交流群⑩:575732100 (满)
- 开源交流群⑨:604864648 (满)
- 开源交流群⑧:902855996 (满)
- 开源交流群⑦:873533715 (满)
- 开源交流群⑥:593529956 (满)
- 开源交流群⑤:1074095891 (满)
- 开源交流群④:1039666905 (满)
- 开源交流群③:670546875 (满)
- 开源交流群②:947654489 (满)
- 开源交流群①:530136203 (满)
-
+