-
Notifications
You must be signed in to change notification settings - Fork 558
/
Copy pathadmin.html
758 lines (758 loc) · 89.1 KB
/
admin.html
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="generator" content="VuePress 2.0.0-beta.51">
<style>
:root {
--c-bg: #fff;
}
html.dark {
--c-bg: #22272e;
}
html, body {
background-color: var(--c-bg);
}
</style>
<script>
const userMode = localStorage.getItem('vuepress-color-scheme');
const systemDarkMode = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches;
if (userMode === 'dark' || (userMode !== 'light' && systemDarkMode)) {
document.documentElement.classList.toggle('dark', true);
}
</script>
<title>4.3 管理端 | 学之思教程</title><meta name="description" content="学之思开发部署教程">
<link rel="modulepreload" href="/assets/app.63383758.js"><link rel="modulepreload" href="/assets/admin.html.deeff576.js"><link rel="modulepreload" href="/assets/admin.html.95aff702.js"><link rel="prefetch" href="/assets/index.html.69524544.js"><link rel="prefetch" href="/assets/database.html.d0f44a34.js"><link rel="prefetch" href="/assets/deploy.html.3556abb5.js"><link rel="prefetch" href="/assets/develop.html.fbedd315.js"><link rel="prefetch" href="/assets/feature.html.261d99f8.js"><link rel="prefetch" href="/assets/skill.html.a2155b8b.js"><link rel="prefetch" href="/assets/student.html.e082e38b.js"><link rel="prefetch" href="/assets/video.html.223c0851.js"><link rel="prefetch" href="/assets/wx.html.0df5ac91.js"><link rel="prefetch" href="/assets/404.html.c3e557d0.js"><link rel="prefetch" href="/assets/index.html.b329a184.js"><link rel="prefetch" href="/assets/database.html.693eceb4.js"><link rel="prefetch" href="/assets/deploy.html.cb99f173.js"><link rel="prefetch" href="/assets/develop.html.eaebfe39.js"><link rel="prefetch" href="/assets/feature.html.d10fba34.js"><link rel="prefetch" href="/assets/skill.html.5e2bdb8b.js"><link rel="prefetch" href="/assets/student.html.77f86d34.js"><link rel="prefetch" href="/assets/video.html.6d3e851d.js"><link rel="prefetch" href="/assets/wx.html.b8981779.js"><link rel="prefetch" href="/assets/404.html.7de7637c.js">
<link rel="stylesheet" href="/assets/style.e2da3676.css">
</head>
<body>
<div id="app"><!--[--><div class="theme-container"><!--[--><header class="navbar"><div class="toggle-sidebar-button" title="toggle sidebar" aria-expanded="false" role="button" tabindex="0"><div class="icon" aria-hidden="true"><span></span><span></span><span></span></div></div><span><a href="/" class=""><img class="logo" src="https://www.mindskip.net/style/git/images/logo/logo.png" alt="学之思教程"><span class="site-name can-hide">学之思教程</span></a></span><div class="navbar-items-wrapper" style=""><!--[--><!--]--><nav class="navbar-items can-hide"><!--[--><div class="navbar-item"><a class="external-link" href="https://www.mindskip.net" rel="noopener noreferrer" target="_blank" aria-label="官网"><!--[--><!--]--> 官网 <span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg><span class="external-link-icon-sr-only">open in new window</span></span><!--[--><!--]--></a></div><div class="navbar-item"><a class="external-link" href="https://www.mindskip.net/sdd.html" rel="noopener noreferrer" target="_blank" aria-label="思多多"><!--[--><!--]--> 思多多 <span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg><span class="external-link-icon-sr-only">open in new window</span></span><!--[--><!--]--></a></div><div class="navbar-item"><a class="external-link" href="https://www.mindskip.net/wdd.html" rel="noopener noreferrer" target="_blank" aria-label="维多多"><!--[--><!--]--> 维多多 <span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg><span class="external-link-icon-sr-only">open in new window</span></span><!--[--><!--]--></a></div><div class="navbar-item"><a class="external-link" href="https://www.mindskip.net/xzs.html" rel="noopener noreferrer" target="_blank" aria-label="学之思"><!--[--><!--]--> 学之思 <span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg><span class="external-link-icon-sr-only">open in new window</span></span><!--[--><!--]--></a></div><div class="navbar-item"><a class="external-link" href="https://www.mindskip.net/buy.html" rel="noopener noreferrer" target="_blank" aria-label="商业购买"><!--[--><!--]--> 商业购买 <span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg><span class="external-link-icon-sr-only">open in new window</span></span><!--[--><!--]--></a></div><!--]--></nav><!--[--><!--]--><button class="toggle-color-mode-button" title="toggle color mode"><svg style="" class="icon" focusable="false" viewBox="0 0 32 32"><path d="M16 12.005a4 4 0 1 1-4 4a4.005 4.005 0 0 1 4-4m0-2a6 6 0 1 0 6 6a6 6 0 0 0-6-6z" fill="currentColor"></path><path d="M5.394 6.813l1.414-1.415l3.506 3.506L8.9 10.318z" fill="currentColor"></path><path d="M2 15.005h5v2H2z" fill="currentColor"></path><path d="M5.394 25.197L8.9 21.691l1.414 1.415l-3.506 3.505z" fill="currentColor"></path><path d="M15 25.005h2v5h-2z" fill="currentColor"></path><path d="M21.687 23.106l1.414-1.415l3.506 3.506l-1.414 1.414z" fill="currentColor"></path><path d="M25 15.005h5v2h-5z" fill="currentColor"></path><path d="M21.687 8.904l3.506-3.506l1.414 1.415l-3.506 3.505z" fill="currentColor"></path><path d="M15 2.005h2v5h-2z" fill="currentColor"></path></svg><svg style="display:none;" class="icon" focusable="false" viewBox="0 0 32 32"><path d="M13.502 5.414a15.075 15.075 0 0 0 11.594 18.194a11.113 11.113 0 0 1-7.975 3.39c-.138 0-.278.005-.418 0a11.094 11.094 0 0 1-3.2-21.584M14.98 3a1.002 1.002 0 0 0-.175.016a13.096 13.096 0 0 0 1.825 25.981c.164.006.328 0 .49 0a13.072 13.072 0 0 0 10.703-5.555a1.01 1.01 0 0 0-.783-1.565A13.08 13.08 0 0 1 15.89 4.38A1.015 1.015 0 0 0 14.98 3z" fill="currentColor"></path></svg></button><!----></div></header><!--]--><div class="sidebar-mask"></div><!--[--><aside class="sidebar"><nav class="navbar-items"><!--[--><div class="navbar-item"><a class="external-link" href="https://www.mindskip.net" rel="noopener noreferrer" target="_blank" aria-label="官网"><!--[--><!--]--> 官网 <span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg><span class="external-link-icon-sr-only">open in new window</span></span><!--[--><!--]--></a></div><div class="navbar-item"><a class="external-link" href="https://www.mindskip.net/sdd.html" rel="noopener noreferrer" target="_blank" aria-label="思多多"><!--[--><!--]--> 思多多 <span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg><span class="external-link-icon-sr-only">open in new window</span></span><!--[--><!--]--></a></div><div class="navbar-item"><a class="external-link" href="https://www.mindskip.net/wdd.html" rel="noopener noreferrer" target="_blank" aria-label="维多多"><!--[--><!--]--> 维多多 <span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg><span class="external-link-icon-sr-only">open in new window</span></span><!--[--><!--]--></a></div><div class="navbar-item"><a class="external-link" href="https://www.mindskip.net/xzs.html" rel="noopener noreferrer" target="_blank" aria-label="学之思"><!--[--><!--]--> 学之思 <span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg><span class="external-link-icon-sr-only">open in new window</span></span><!--[--><!--]--></a></div><div class="navbar-item"><a class="external-link" href="https://www.mindskip.net/buy.html" rel="noopener noreferrer" target="_blank" aria-label="商业购买"><!--[--><!--]--> 商业购买 <span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg><span class="external-link-icon-sr-only">open in new window</span></span><!--[--><!--]--></a></div><!--]--></nav><!--[--><!--]--><ul class="sidebar-items"><!--[--><li><p tabindex="0" class="sidebar-item sidebar-heading active"> <!----></p><ul style="" class="sidebar-item-children"><!--[--><li><a href="/guide/feature.html" class="sidebar-item" aria-label="1. 功能列表"><!--[--><!--]--> 1. 功能列表 <!--[--><!--]--></a><!----></li><li><a href="/guide/skill.html" class="sidebar-item" aria-label="2. 技术栈"><!--[--><!--]--> 2. 技术栈 <!--[--><!--]--></a><!----></li><li><a href="/guide/database.html" class="sidebar-item" aria-label="3. 数据库设计"><!--[--><!--]--> 3. 数据库设计 <!--[--><!--]--></a><!----></li><li><p tabindex="0" class="sidebar-item active">4. 接口文档 <!----></p><ul style="" class="sidebar-item-children"><!--[--><li><a href="/guide/student.html" class="sidebar-item" aria-label="4.1 学生端"><!--[--><!--]--> 4.1 学生端 <!--[--><!--]--></a><!----></li><li><a href="/guide/wx.html" class="sidebar-item" aria-label="4.2 小程序"><!--[--><!--]--> 4.2 小程序 <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/guide/admin.html" class="router-link-active router-link-exact-active router-link-active sidebar-item active" aria-label="4.3 管理端"><!--[--><!--]--> 4.3 管理端 <!--[--><!--]--></a><ul style="" class="sidebar-item-children"><!--[--><li><a aria-current="page" href="/guide/admin.html#_4-3-1-登录" class="router-link-active router-link-exact-active sidebar-item" aria-label="4.3.1 登录"><!--[--><!--]--> 4.3.1 登录 <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/guide/admin.html#_4-3-2-登出" class="router-link-active router-link-exact-active sidebar-item" aria-label="4.3.2 登出"><!--[--><!--]--> 4.3.2 登出 <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/guide/admin.html#_4-3-3-首页" class="router-link-active router-link-exact-active sidebar-item" aria-label="4.3.3 首页"><!--[--><!--]--> 4.3.3 首页 <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/guide/admin.html#_4-3-4-用户分页" class="router-link-active router-link-exact-active sidebar-item" aria-label="4.3.4 用户分页"><!--[--><!--]--> 4.3.4 用户分页 <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/guide/admin.html#_4-3-5-用户查询" class="router-link-active router-link-exact-active sidebar-item" aria-label="4.3.5 用户查询"><!--[--><!--]--> 4.3.5 用户查询 <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/guide/admin.html#_4-3-6-用户编辑" class="router-link-active router-link-exact-active sidebar-item" aria-label="4.3.6 用户编辑"><!--[--><!--]--> 4.3.6 用户编辑 <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/guide/admin.html#_4-3-7-用户删除" class="router-link-active router-link-exact-active sidebar-item" aria-label="4.3.7 用户删除"><!--[--><!--]--> 4.3.7 用户删除 <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/guide/admin.html#_4-3-8-用户状态修改" class="router-link-active router-link-exact-active sidebar-item" aria-label="4.3.8 用户状态修改"><!--[--><!--]--> 4.3.8 用户状态修改 <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/guide/admin.html#_4-3-9-学科列表" class="router-link-active router-link-exact-active sidebar-item" aria-label="4.3.9 学科列表"><!--[--><!--]--> 4.3.9 学科列表 <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/guide/admin.html#_4-3-10-学科分页" class="router-link-active router-link-exact-active sidebar-item" aria-label="4.3.10 学科分页"><!--[--><!--]--> 4.3.10 学科分页 <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/guide/admin.html#_4-3-11-学科查询" class="router-link-active router-link-exact-active sidebar-item" aria-label="4.3.11 学科查询"><!--[--><!--]--> 4.3.11 学科查询 <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/guide/admin.html#_4-3-12-学科编辑" class="router-link-active router-link-exact-active sidebar-item" aria-label="4.3.12 学科编辑"><!--[--><!--]--> 4.3.12 学科编辑 <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/guide/admin.html#_4-3-13-学科删除" class="router-link-active router-link-exact-active sidebar-item" aria-label="4.3.13 学科删除"><!--[--><!--]--> 4.3.13 学科删除 <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/guide/admin.html#_4-3-14-试卷分页" class="router-link-active router-link-exact-active sidebar-item" aria-label="4.3.14 试卷分页"><!--[--><!--]--> 4.3.14 试卷分页 <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/guide/admin.html#_4-3-15-试卷查询" class="router-link-active router-link-exact-active sidebar-item" aria-label="4.3.15 试卷查询"><!--[--><!--]--> 4.3.15 试卷查询 <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/guide/admin.html#_4-3-16-试卷编辑" class="router-link-active router-link-exact-active sidebar-item" aria-label="4.3.16 试卷编辑"><!--[--><!--]--> 4.3.16 试卷编辑 <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/guide/admin.html#_4-3-17-试卷删除" class="router-link-active router-link-exact-active sidebar-item" aria-label="4.3.17 试卷删除"><!--[--><!--]--> 4.3.17 试卷删除 <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/guide/admin.html#_4-3-18-任务试卷分页" class="router-link-active router-link-exact-active sidebar-item" aria-label="4.3.18 任务试卷分页"><!--[--><!--]--> 4.3.18 任务试卷分页 <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/guide/admin.html#_4-3-19-题目分页" class="router-link-active router-link-exact-active sidebar-item" aria-label="4.3.19 题目分页"><!--[--><!--]--> 4.3.19 题目分页 <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/guide/admin.html#_4-3-20-题目查询" class="router-link-active router-link-exact-active sidebar-item" aria-label="4.3.20 题目查询"><!--[--><!--]--> 4.3.20 题目查询 <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/guide/admin.html#_4-3-21-题目编辑" class="router-link-active router-link-exact-active sidebar-item" aria-label="4.3.21 题目编辑"><!--[--><!--]--> 4.3.21 题目编辑 <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/guide/admin.html#_4-3-22-题目删除" class="router-link-active router-link-exact-active sidebar-item" aria-label="4.3.22 题目删除"><!--[--><!--]--> 4.3.22 题目删除 <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/guide/admin.html#_4-3-23-任务分页" class="router-link-active router-link-exact-active sidebar-item" aria-label="4.3.23 任务分页"><!--[--><!--]--> 4.3.23 任务分页 <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/guide/admin.html#_4-3-24-任务查询" class="router-link-active router-link-exact-active sidebar-item" aria-label="4.3.24 任务查询"><!--[--><!--]--> 4.3.24 任务查询 <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/guide/admin.html#_4-3-25-任务编辑" class="router-link-active router-link-exact-active sidebar-item" aria-label="4.3.25 任务编辑"><!--[--><!--]--> 4.3.25 任务编辑 <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/guide/admin.html#_4-3-26-任务删除" class="router-link-active router-link-exact-active sidebar-item" aria-label="4.3.26 任务删除"><!--[--><!--]--> 4.3.26 任务删除 <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/guide/admin.html#_4-3-27-消息分页" class="router-link-active router-link-exact-active sidebar-item" aria-label="4.3.27 消息分页"><!--[--><!--]--> 4.3.27 消息分页 <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/guide/admin.html#_4-3-28-消息发送" class="router-link-active router-link-exact-active sidebar-item" aria-label="4.3.28 消息发送"><!--[--><!--]--> 4.3.28 消息发送 <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/guide/admin.html#_4-3-29-答卷分页" class="router-link-active router-link-exact-active sidebar-item" aria-label="4.3.29 答卷分页"><!--[--><!--]--> 4.3.29 答卷分页 <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/guide/admin.html#_4-3-30-用户日志" class="router-link-active router-link-exact-active sidebar-item" aria-label="4.3.30 用户日志"><!--[--><!--]--> 4.3.30 用户日志 <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/guide/admin.html#_4-3-31-当前用户信息" class="router-link-active router-link-exact-active sidebar-item" aria-label="4.3.31 当前用户信息"><!--[--><!--]--> 4.3.31 当前用户信息 <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/guide/admin.html#_4-3-32-用户信息更新" class="router-link-active router-link-exact-active sidebar-item" aria-label="4.3.32 用户信息更新"><!--[--><!--]--> 4.3.32 用户信息更新 <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/guide/admin.html#_4-3-32-用户信息更新-1" class="router-link-active router-link-exact-active sidebar-item" aria-label="4.3.32 用户信息更新"><!--[--><!--]--> 4.3.32 用户信息更新 <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/guide/admin.html#_4-3-33-图片上传" class="router-link-active router-link-exact-active sidebar-item" aria-label="4.3.33 图片上传"><!--[--><!--]--> 4.3.33 图片上传 <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/guide/admin.html#_4-3-34-个人信息修改" class="router-link-active router-link-exact-active sidebar-item" aria-label="4.3.34 个人信息修改"><!--[--><!--]--> 4.3.34 个人信息修改 <!--[--><!--]--></a><!----></li><!--]--></ul></li><!--]--></ul></li><li><a href="/guide/develop.html" class="sidebar-item" aria-label="5. 项目开发"><!--[--><!--]--> 5. 项目开发 <!--[--><!--]--></a><!----></li><li><a href="/guide/deploy.html" class="sidebar-item" aria-label="6. 项目部署"><!--[--><!--]--> 6. 项目部署 <!--[--><!--]--></a><!----></li><li><a href="/guide/video.html" class="sidebar-item" aria-label="7. 视频教程"><!--[--><!--]--> 7. 视频教程 <!--[--><!--]--></a><!----></li><!--]--></ul></li><!--]--></ul><!--[--><!--]--></aside><!--]--><!--[--><main class="page"><!--[--><!--]--><div class="theme-default-content"><!--[--><!--]--><div><h1 id="_4-3-管理端" tabindex="-1"><a class="header-anchor" href="#_4-3-管理端" aria-hidden="true">#</a> 4.3 管理端</h1><h3 id="_4-3-1-登录" tabindex="-1"><a class="header-anchor" href="#_4-3-1-登录" aria-hidden="true">#</a> 4.3.1 登录</h3><ul><li>接口地址:/api/user/login</li><li>请求参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"userName": "admin", //用户名
"password": "", //密码
"remember": false //记住我
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><ul><li>返回参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"code": 1,
"message": "成功",
"response": {
"id": null,
"userUuid": null,
"userName": "admin", //用户名
"password": null,
"realName": null,
"age": null,
"sex": null,
"birthDay": null,
"userLevel": null,
"phone": null,
"role": null,
"status": null,
"imagePath": null,
"createTime": null,
"modifyTime": null,
"lastActiveTime": null,
"deleted": null,
"wxOpenId": null
}
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h3 id="_4-3-2-登出" tabindex="-1"><a class="header-anchor" href="#_4-3-2-登出" aria-hidden="true">#</a> 4.3.2 登出</h3><ul><li>接口地址:/api/user/logout</li><li>请求参数:无</li><li>返回参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"code": 1,
"message": "成功",
"response": null
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h3 id="_4-3-3-首页" tabindex="-1"><a class="header-anchor" href="#_4-3-3-首页" aria-hidden="true">#</a> 4.3.3 首页</h3><ul><li>接口地址:/api/admin/dashboard/index</li><li>请求参数:无</li><li>返回参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code> {
"examPaperCount": 2413, //试卷总数
"questionCount": 1025, //题目总数
"doExamPaperCount": 6148, //总答卷数
"doQuestionCount": 23945, //总题数
"mothDayUserActionValue": [ //活跃度
85
],
"mothDayDoExamQuestionValue": [ //月做题数
22
],
"mothDayText": [ //本月天数
"1"
]
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h3 id="_4-3-4-用户分页" tabindex="-1"><a class="header-anchor" href="#_4-3-4-用户分页" aria-hidden="true">#</a> 4.3.4 用户分页</h3><ul><li>接口地址:/api/admin/user/page/list</li><li>请求参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"userName": "", //用户名
"role": 1, //角色
"pageIndex": 1, //页码
"pageSize": 10 //每页条数
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><ul><li>返回参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"code": 1,
"message": "成功",
"response": {
"total": 81, //总数
"list": [
{
"id": 100, //用户id
"userUuid": "fd31ab62-c32f-433c-8dc4-c07e653d390a", //用户uuid
"userName": "王", //用户名
"realName": null, //真实姓名
"age": null, //年龄
"role": 1, //角色
"sex": null, //性别
"birthDay": "", //出生日期
"phone": null, //手机号
"lastActiveTime": "2021-06-21 20:01:26", //最后活动时间
"createTime": "2021-06-21 20:01:26", //创建时间
"modifyTime": "2021-06-21 20:01:35", //修改时间
"status": 1, //状态
"userLevel": 1, //年级
"imagePath": null //头像
}
]
}
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h3 id="_4-3-5-用户查询" tabindex="-1"><a class="header-anchor" href="#_4-3-5-用户查询" aria-hidden="true">#</a> 4.3.5 用户查询</h3><ul><li>接口地址:/api/admin/user/select/1</li><li>请求参数:无</li><li>返回参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"code": 1,
"message": "成功",
"response": {
"id": 100, //用户id
"userUuid": "fd31ab62-c32f-433c-8dc4-c07e653d390a", //用户uuid
"userName": "王", //用户名
"realName": null, //真实姓名
"age": null, //年龄
"role": 1, //角色
"sex": null, //性别
"birthDay": "", //出生日期
"phone": null, //手机号
"lastActiveTime": "2021-06-21 20:01:26", //最后活动时间
"createTime": "2021-06-21 20:01:26", //创建时间
"modifyTime": "2021-06-21 20:01:35", //修改时间
"status": 1, //状态
"userLevel": 1, //年级
"imagePath": null //头像
}
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h3 id="_4-3-6-用户编辑" tabindex="-1"><a class="header-anchor" href="#_4-3-6-用户编辑" aria-hidden="true">#</a> 4.3.6 用户编辑</h3><ul><li>接口地址:/api/admin/user/edit</li><li>请求参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"id": null,
"userName": "testzz", //用户名
"password": "123456", //密码
"realName": "tesx", //真实姓名
"role": 1, //角色
"status": 1, //状态
"age": "", //年龄
"sex": "", //性别
"birthDay": null, //生日
"phone": null, //手机号
"userLevel": 1 //年级
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><ul><li>返回参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"code": 1,
"message": "成功",
"response": {
"id": 109,
"userUuid": "321dec89-0656-4736-ae4c-e2b07f4fcc67", //用户id
"userName": "testzz", //用户名
"password": "" //密码
"realName": "tesx", //真实姓名
"age": null, //年龄
"sex": null, //性别
"birthDay": null, //生日
"userLevel": 1, //年级
"phone": null, //手机号
"role": 1, //角色
"status": 1, //状态
"imagePath": null, //头像
"createTime": 1624538837259, //创建日期
"modifyTime": null, //修改时间
"lastActiveTime": 1624538837259, //最后活动时间
"deleted": false, //是否删除
"wxOpenId": null //微信openId
}
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h3 id="_4-3-7-用户删除" tabindex="-1"><a class="header-anchor" href="#_4-3-7-用户删除" aria-hidden="true">#</a> 4.3.7 用户删除</h3><ul><li>接口地址:/api/admin/user/delete/3</li><li>请求参数:无</li><li>返回参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"code": 1, //返回状态
"message": "成功", //返回消息
"response": null
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h3 id="_4-3-8-用户状态修改" tabindex="-1"><a class="header-anchor" href="#_4-3-8-用户状态修改" aria-hidden="true">#</a> 4.3.8 用户状态修改</h3><ul><li>接口地址:/api/admin/user/changeStatus/1</li><li>请求参数:无</li><li>返回参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"code": 1,
"message": "成功",
"response": 2
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h3 id="_4-3-9-学科列表" tabindex="-1"><a class="header-anchor" href="#_4-3-9-学科列表" aria-hidden="true">#</a> 4.3.9 学科列表</h3><ul><li>接口地址:/api/admin/education/subject/list</li><li>请求参数:无</li><li>返回参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"code": 1,
"message": "成功",
"response": [
{
"id": 68, //学科id
"name": "语文", //学科名称
"level": 1, //年级
"levelName": "一年级", //年级名称
"itemOrder": null, //排序
"deleted": false //是否删除
}
]
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h3 id="_4-3-10-学科分页" tabindex="-1"><a class="header-anchor" href="#_4-3-10-学科分页" aria-hidden="true">#</a> 4.3.10 学科分页</h3><ul><li>接口地址:/api/admin/education/subject/page</li><li>请求参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"level": null, //年级
"pageIndex": 1,
"pageSize": 10
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><ul><li>返回参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"code": 1,
"message": "成功",
"response": {
"total": 2,
"list": [
{
"id": 38,
"name": "数学", //学科名称
"level": 1, //年级
"levelName": "一年级" //年级名称
}
]
}
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h3 id="_4-3-11-学科查询" tabindex="-1"><a class="header-anchor" href="#_4-3-11-学科查询" aria-hidden="true">#</a> 4.3.11 学科查询</h3><ul><li>接口地址:/api/admin/education/subject/select/2</li><li>请求参数:无</li><li>返回参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"code": 1,
"message": "成功",
"response": {
"id": 10,
"name": "数学", //学科名称
"level": 1, //年级
"levelName": "一年级" //年级名称
}
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h3 id="_4-3-12-学科编辑" tabindex="-1"><a class="header-anchor" href="#_4-3-12-学科编辑" aria-hidden="true">#</a> 4.3.12 学科编辑</h3><ul><li>接口地址:/api/admin/education/subject/edit</li><li>请求参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"id": 50,
"name": "数学", //学科名称
"level": 2, //年级
"levelName": "二年级" //年级名称
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><ul><li>返回参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"code": 1,
"message": "成功",
"response": null
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h3 id="_4-3-13-学科删除" tabindex="-1"><a class="header-anchor" href="#_4-3-13-学科删除" aria-hidden="true">#</a> 4.3.13 学科删除</h3><ul><li>接口地址:/api/admin/education/subject/delete/3</li><li>请求参数:无</li><li>返回参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"code": 1,
"message": "成功",
"response": null
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h3 id="_4-3-14-试卷分页" tabindex="-1"><a class="header-anchor" href="#_4-3-14-试卷分页" aria-hidden="true">#</a> 4.3.14 试卷分页</h3><ul><li>接口地址:/api/admin/exam/paper/page</li><li>请求参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"id": null,
"level": null, //年级
"subjectId": null, //学科
"pageIndex": 1, //页码
"pageSize": 10 //每页数量
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><ul><li>返回参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"code": 1,
"message": "成功",
"response": {
"total": 9,
"list": [
{
"id": 96, //试卷id
"name": "中级任务二", //试卷名称
"questionCount": 5, //题目总数
"score": 180, //试卷分数
"createTime": "2021-01-21 11:49:31", //创建时间
"createUser": 2, //创建人
"subjectId": 1, //学科
"paperType": 6, //试卷类型
"frameTextContentId": 13 //试卷内容
}
]
}
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h3 id="_4-3-15-试卷查询" tabindex="-1"><a class="header-anchor" href="#_4-3-15-试卷查询" aria-hidden="true">#</a> 4.3.15 试卷查询</h3><ul><li>接口地址:/api/admin/exam/paper/select/9</li><li>请求参数:无</li><li>返回参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"code": 1,
"message": "成功",
"response": {
"id": 43, //试卷id
"level": 1, //年级
"subjectId": 1, //学科
"paperType": 1, //试卷类型
"name": "语文试卷", //试卷名称
"suggestTime": 20, //考试时间
"limitDateTime": null, //限时考试
"titleItems": [
{
"name": "一、选择题", //试卷标题
"questionItems": [
{
"id": 14, //题目id
"questionType": 5, //题目类型
"subjectId": 1, //学科
"title": "默写咏鹅", //题干
"gradeLevel": 1, //年级
"items": [], //题目选项
"analyze": "咏鹅可以带拼音", //解析
"correctArray": null, //标答数组
"correct": "鹅鹅鹅, 曲项向天歌。 白毛浮绿水, 红掌拨清波。", //标答
"score": "10", //题目分数
"difficult": 3, //难度
"itemOrder": 1 //题序
}
]
}
],
"score": "10" //试卷总分
}
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h3 id="_4-3-16-试卷编辑" tabindex="-1"><a class="header-anchor" href="#_4-3-16-试卷编辑" aria-hidden="true">#</a> 4.3.16 试卷编辑</h3><ul><li>接口地址:/api/admin/exam/paper/edit</li><li>请求参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"id": 27, //试卷id
"level": 1, //年级
"subjectId": 1, //学科
"paperType": 6, //试卷类型
"name": "中级任务二", //试卷名称
"suggestTime": 20, //考试时长
"limitDateTime": null, //限时
"titleItems": [
{
"name": "一、选择题", //标题
"questionItems": [ //题目列表
{
"id": 24, //题目id
"questionType": 2, //题型
"subjectId": 1, //学科
"title": "以下哪些诗句是静夜思的?", //题干
"gradeLevel": 1, //年级
"items": [ //选项
{
"prefix": "A", //选项标记
"content": "床前明月光", //选项内容
"score": null, //选项分数
"itemUuid": null //选项标识
}
],
"analyze": "床前明月光, 疑是地上霜。 举头望明月, 低头思故乡。", //解析
"correctArray": [ //正确答案
"A",
"C"
],
"correct": "A,C", //正确答案
"score": "0", //题目分数
"difficult": 3, //难度
"itemOrder": 1 //题序
}
]
}
],
"score": "18" //试卷总分
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><ul><li>返回参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"code": 1,
"message": "成功",
"response": {
"id": 6, //试卷id
"level": 1, //年级
"subjectId": 1, //学科
"paperType": 6, //试卷类型
"name": "中级任务二", //试卷名称
"suggestTime": 20, //考试时长
"limitDateTime": null, //限时
"titleItems": [
{
"name": "一、选择题", //标题
"questionItems": [
{
"id": 79, //题目id
"questionType": 2, //题型
"subjectId": 1, //学科
"title": "以下哪些诗句是静夜思的?", //题干
"gradeLevel": 1, //年级
"items": [ //选项
{
"prefix": "A", //选项标记
"content": "床前明月光", //选项内容
"score": null, //选项分数
"itemUuid": null //选项标识
}
],
"analyze": "床前明月光, 疑是地上霜。 举头望明月, 低头思故乡。", //解析
"correctArray": [ //正确答案
"A",
"C"
],
"correct": "A,C", //正确答案
"score": "0", //题目分数
"difficult": 3, //难度
"itemOrder": 1 //题序
}
]
}
],
"score": "18" //题序
}
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h3 id="_4-3-17-试卷删除" tabindex="-1"><a class="header-anchor" href="#_4-3-17-试卷删除" aria-hidden="true">#</a> 4.3.17 试卷删除</h3><ul><li>接口地址:/api/admin/exam/paper/delete/9</li><li>请求参数:无</li><li>返回参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"code": 1,
"message": "成功",
"response": null
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h3 id="_4-3-18-任务试卷分页" tabindex="-1"><a class="header-anchor" href="#_4-3-18-任务试卷分页" aria-hidden="true">#</a> 4.3.18 任务试卷分页</h3><ul><li>接口地址:/api/admin/exam/paper/taskExamPage</li><li>请求参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"subjectId": null, //学科
"level": 1, //年级
"paperType": 6, //试卷类型
"pageIndex": 1, //页面
"pageSize": 5
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><ul><li>返回参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"code": 1,
"message": "成功",
"response": {
"total": 1,
"list": [
{
"id": 62,
"name": "任务试卷五", //试卷名称
"questionCount": 2, //题目总数
"score": 60, //试卷分数
"createTime": "2021-08-02 14:36:26", //创建时间
"createUser": 2, //创建人
"subjectId": 1, //学科
"paperType": 6, //试卷类型
"frameTextContentId": 26 //试卷内容
}
]
}
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h3 id="_4-3-19-题目分页" tabindex="-1"><a class="header-anchor" href="#_4-3-19-题目分页" aria-hidden="true">#</a> 4.3.19 题目分页</h3><ul><li>接口地址:/api/admin/question/page</li><li>请求参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"id": null,
"questionType": null,
"level": null,
"subjectId": null,
"pageIndex": 1,
"pageSize": 10
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><ul><li>返回参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"code": 1,
"message": "成功",
"response": {
"total": 7,
"list": [
{
"id": 47,
"questionType": 5, //题型
"textContentId": null,
"createTime": "2021-01-21 11:45:57", //创建时间
"subjectId": 1, //学科
"createUser": 2, //创建人
"score": "10", //得分
"status": 1, //状态
"correct": "鹅鹅鹅, 曲项向天歌。 白毛浮绿水, 红掌拨清波。", //标答
"analyzeTextContentId": null, //解析
"difficult": 3, //难度
"shortTitle": "默写咏鹅" //题干
}
]
}
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h3 id="_4-3-20-题目查询" tabindex="-1"><a class="header-anchor" href="#_4-3-20-题目查询" aria-hidden="true">#</a> 4.3.20 题目查询</h3><ul><li>接口地址:/api/admin/question/select/508</li><li>请求参数:无</li><li>返回参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"code": 1,
"message": "成功",
"response": {
"id": 508, //题目id
"questionType": 5, //题型
"subjectId": 4, //学科
"title": "<p>什么是快乐星球?</p>", //题干
"gradeLevel": 1, //年级
"items": [], //选项
"analyze": "照抄即可", //解析
"correctArray": null, //标答
"correct": "什么是快乐星球", //正确答案
"score": "5", //题目分数
"difficult": 5, //难度
"itemOrder": null
}
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h3 id="_4-3-21-题目编辑" tabindex="-1"><a class="header-anchor" href="#_4-3-21-题目编辑" aria-hidden="true">#</a> 4.3.21 题目编辑</h3><ul><li>接口地址:/api/admin/question/edit</li><li>请求参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"id": 95, //题目id
"questionType": 5, //题型
"subjectId": 1, //学科
"title": "默写咏鹅", //题干
"gradeLevel": 1, //年级
"items": [], //选项
"analyze": "咏鹅可以带拼音", //解析
"correctArray": null, //标答
"correct": "鹅鹅鹅, 曲项向天歌。 白毛浮绿水, 红掌拨清波。", //正确答案
"score": 10, //题目分数
"difficult": 3, //难度
"itemOrder": null
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><ul><li>返回参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"code": 1,
"message": "成功",
"response": null
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h3 id="_4-3-22-题目删除" tabindex="-1"><a class="header-anchor" href="#_4-3-22-题目删除" aria-hidden="true">#</a> 4.3.22 题目删除</h3><ul><li>接口地址:/api/admin/question/delete/7</li><li>请求参数:无</li><li>返回参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"code": 1,
"message": "成功",
"response": null
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h3 id="_4-3-23-任务分页" tabindex="-1"><a class="header-anchor" href="#_4-3-23-任务分页" aria-hidden="true">#</a> 4.3.23 任务分页</h3><ul><li>接口地址:/api/admin/task/page</li><li>请求参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"gradeLevel": null,
"pageIndex": 1,
"pageSize": 10
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><ul><li>返回参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"code": 1,
"message": "成功",
"response": {
"total": 2,
"list": [
{
"id": 43, //任务id
"title": "中级任务", //任务标题
"gradeLevel": 1, //年级
"createUserName": "admin", //创建人用户名
"createTime": "2021-01-21 11:50:24", //创建时间
"deleted": false //是否删除
}
]
}
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h3 id="_4-3-24-任务查询" tabindex="-1"><a class="header-anchor" href="#_4-3-24-任务查询" aria-hidden="true">#</a> 4.3.24 任务查询</h3><ul><li>接口地址:/api/admin/task/select/22</li><li>请求参数:无</li><li>返回参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"code": 1,
"message": "成功",
"response": {
"id": 64, //任务id
"gradeLevel": 12, //年级
"title": "考试", //任务标题
"paperItems": [
{
"id": 592, //试卷id
"name": "考试", //试卷名称
"questionCount": 5, //题目数量
"score": 275, //试卷分数
"createTime": "2021-08-12 15:02:50", //创建时间
"createUser": 2, //创建人
"subjectId": 46, //学科
"paperType": 6, //试卷类型
"frameTextContentId": 2897, //试卷内容
"allClasses": null
}
]
}
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h3 id="_4-3-25-任务编辑" tabindex="-1"><a class="header-anchor" href="#_4-3-25-任务编辑" aria-hidden="true">#</a> 4.3.25 任务编辑</h3><ul><li>接口地址:/api/admin/task/edit</li><li>请求参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"id": 91,
"gradeLevel": 1,
"title": "中级任务",
"paperItems": [
{
"id": 14, //试卷id
"name": "中级任务一", //试卷名称
"questionCount": 5, //题目数量
"score": 180, //试卷分数
"createTime": "2021-01-21 11:49:11", //创建时间
"createUser": 2, //创建人
"subjectId": 1, //学科
"paperType": 6, //试卷类型
"frameTextContentId": 12 //试卷内容
}
]
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><ul><li>返回参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"code": 1,
"message": "成功",
"response": {
"id": 86, //任务id
"gradeLevel": 1, //年级
"title": "中级任务", //任务标题
"paperItems": [
{
"id": 47, //试卷id
"name": "中级任务一", //试卷名称
"questionCount": 5, //题目数量
"score": 180, //试卷分数
"createTime": "2021-01-21 11:49:11", //创建时间
"createUser": 2, //创建人
"subjectId": 1, //学科
"paperType": 6, //试卷类型
"frameTextContentId": 12 //试卷内容
}
]
}
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h3 id="_4-3-26-任务删除" tabindex="-1"><a class="header-anchor" href="#_4-3-26-任务删除" aria-hidden="true">#</a> 4.3.26 任务删除</h3><ul><li>接口地址:/api/admin/task/delete/1</li><li>请求参数:无</li><li>返回参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"code": 1, //返回状态
"message": "成功", //返回消息
"response": null
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h3 id="_4-3-27-消息分页" tabindex="-1"><a class="header-anchor" href="#_4-3-27-消息分页" aria-hidden="true">#</a> 4.3.27 消息分页</h3><ul><li>接口地址:/api/admin/message/page</li><li>请求参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"sendUserName": null,
"pageIndex": 4,
"pageSize": 10
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><ul><li>请求参数:无</li><li>返回参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"code": 1,
"message": "成功",
"response": {
"total": 36,
"list": [
{
"id": 76, //消息id
"title": "你好,同学!", //消息标题
"content": "考试请不要作弊", //消息内容
"sendUserName": "admin", //发送人用户名
"receives": "student", //接收人用户名
"receiveUserCount": 1, //接收人数量
"readCount": 1, //已读数量
"createTime": "2020-09-22 11:37:49" //创建时间
}
]
}
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h3 id="_4-3-28-消息发送" tabindex="-1"><a class="header-anchor" href="#_4-3-28-消息发送" aria-hidden="true">#</a> 4.3.28 消息发送</h3><ul><li>接口地址:/api/admin/message/send</li><li>请求参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"title": "全校师生请注意", //消息标题
"content": "大家好", //消息内容
"receiveUserIds": [ //接收人
1
]
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><ul><li>返回参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"code": 1, //返回状态
"message": "成功", //返回消息
"response": null
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h3 id="_4-3-29-答卷分页" tabindex="-1"><a class="header-anchor" href="#_4-3-29-答卷分页" aria-hidden="true">#</a> 4.3.29 答卷分页</h3><ul><li>接口地址:/api/admin/examPaperAnswer/page</li><li>请求参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"subjectId": null, //学科
"pageIndex": 1,
"pageSize": 10
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><ul><li>返回参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"code": 1,
"message": "成功",
"response": {
"total": 4,
"list": [
{
"id": 55,
"createTime": "2021-07-07 14:03:02", //提交时间
"userScore": "16", //用户得分
"subjectName": "语文", //学科名称
"subjectId": 1, //学科Id
"questionCount": 5, //题目数量
"questionCorrect": 4, //正确题目数
"paperScore": "18", //试卷总分
"doTime": "14 秒", //耗时
"paperType": 4, //试卷类型
"systemScore": "2", //自动批改得分
"status": 2, //答卷状态
"paperName": "限时考试二", //试卷名称
"userName": "student" //用户名
}
]
}
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h3 id="_4-3-30-用户日志" tabindex="-1"><a class="header-anchor" href="#_4-3-30-用户日志" aria-hidden="true">#</a> 4.3.30 用户日志</h3><ul><li>接口地址:/api/admin/user/event/page/list</li><li>请求参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"userId": null,
"userName": null,
"pageIndex": 1,
"pageSize": 10
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><ul><li>返回参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"code": 1,
"message": "成功",
"response": {
"total": 68,
"list": [
{
"id": 54, //日志id
"userId": 2, //用户id
"userName": "admin", //用户名
"realName": "管理员", //真实姓名
"content": "admin 登录了学之思开源考试系统", //日志内容
"createTime": "2021-08-24 20:05:02" //创建时间
}
]
}
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h3 id="_4-3-31-当前用户信息" tabindex="-1"><a class="header-anchor" href="#_4-3-31-当前用户信息" aria-hidden="true">#</a> 4.3.31 当前用户信息</h3><ul><li>接口地址:/api/admin/user/current</li><li>请求参数:无</li><li>返回参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"code": 1,
"message": "成功",
"response": {
"id": 79,
"userUuid": "52045f5f-a13f-4ccc-93dd-f7ee8270ad4c", //用户uuid
"userName": "admin", //用户名
"realName": "管理员", //真实姓名
"age": 30, //年龄
"role": 3, //角色
"sex": 1, //性别
"birthDay": "2019-09-07 18:56:07", //出生日期
"phone": null, //手机号
"lastActiveTime": "", //最后活动时间
"createTime": "2019-09-07 18:56:21", //创建时间
"modifyTime": "", //修改时间
"status": 1, //状态
"userLevel": null, //用户年级
"imagePath": null //头像
}
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h3 id="_4-3-32-用户信息更新" tabindex="-1"><a class="header-anchor" href="#_4-3-32-用户信息更新" aria-hidden="true">#</a> 4.3.32 用户信息更新</h3><ul><li>接口地址:/api/admin/user/update</li><li>请求参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"id": 29, //用户id
"userUuid": "52045f5f-a13f-4ccc-93dd-f7ee8270ad4c", //用户标识
"userName": "admin", //用户名
"realName": "管理员", //真实姓名
"age": 30, //年龄
"role": 3, //角色
"sex": 1, //性别
"birthDay": "2019-09-07 18:56:07", //生日
"phone": "11", //手机号
"lastActiveTime": "", //最后活动时间
"createTime": "2019-09-07 18:56:21", //创建时间
"modifyTime": "2021-08-17 11:28:52", //修改时间
"status": 1, //状态
"userLevel": null, //年级
"imagePath": null //头像
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><ul><li>返回参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"code": 1,
"message": "成功",
"response": null
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h3 id="_4-3-32-用户信息更新-1" tabindex="-1"><a class="header-anchor" href="#_4-3-32-用户信息更新-1" aria-hidden="true">#</a> 4.3.32 用户信息更新</h3><ul><li>接口地址:/api/admin/user/selectByUserName</li><li>请求参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>student //用户名
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div></div></div><ul><li>返回参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"code": 1,
"message": "成功",
"response": [
{
"name": "student", //用户名
"value": 1 //用户id
}
]
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h3 id="_4-3-33-图片上传" tabindex="-1"><a class="header-anchor" href="#_4-3-33-图片上传" aria-hidden="true">#</a> 4.3.33 图片上传</h3><ul><li>接口地址:/api/admin/upload/configAndUpload</li><li>请求参数:无</li><li>返回参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"original": "头像.jpg",
"name": "头像.jpg",
"url": "http://xzs.file.mindskip.net/Fi4vlEf1ri4VMGSONwN2Ch0o8Ed_",
"size": 19665,
"type": ".jpg",
"state": "SUCCESS"
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h3 id="_4-3-34-个人信息修改" tabindex="-1"><a class="header-anchor" href="#_4-3-34-个人信息修改" aria-hidden="true">#</a> 4.3.34 个人信息修改</h3><ul><li>接口地址:/api/admin/user/update</li><li>请求参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"id": 61,
"userUuid": "52045f5f-a13f-4ccc-93dd-f7ee8270ad4c", //用户uuid
"userName": "admin", //用户名
"realName": "管理员", //真实姓名
"age": 30, //年龄
"role": 3, //角色
"sex": 1, //性别
"birthDay": "2021-09-07 18:56:07", //出生日期
"phone": "2112112", //手机号
"lastActiveTime": "", //最后活动时间
"createTime": "2019-09-07 18:56:21", //创建时间
"modifyTime": "2021-08-31 10:08:03", //修改时间
"status": 1, //状态
"userLevel": null, //年级
"imagePath": null //头像
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><ul><li>返回参数:</li></ul><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>{
"code": 1,
"message": "成功",
"response": null
}
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div></div><!--[--><!--]--></div><footer class="page-meta"><!----><div class="meta-item last-updated"><span class="meta-item-label">Last Updated: </span><!----></div><div class="meta-item contributors"><span class="meta-item-label">Contributors: </span><span class="meta-item-info"><!--[--><!--[--><span class="contributor" title="email: mindskip@qq.com">mindskip</span><!--[-->, <!--]--><!--]--><!--[--><span class="contributor" title="email: mindskip@qq.com">思维跳跃科技</span><!----><!--]--><!--]--></span></div></footer><nav class="page-nav"><p class="inner"><span class="prev"><a href="/guide/wx.html" class="" aria-label="4.2 小程序"><!--[--><!--]--> 4.2 小程序 <!--[--><!--]--></a></span><!----></p></nav><!--[--><!--]--></main><!--]--></div><!----><!--]--></div>
<script type="module" src="/assets/app.63383758.js" defer></script>
</body>
</html>