|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+import Router from 'koa-router';
|
|
|
2
|
+import * as hanzi from './hanziController.js';
|
|
|
3
|
+
|
|
|
4
|
+
|
|
|
5
|
+const router = new Router();
|
|
|
6
|
+ //识字
|
|
|
7
|
+router.post('/api/HanziLogin',hanzi.HanziLogin);
|
|
|
8
|
+
|
|
|
9
|
+router.get('/api/GetHanziAll3',hanzi.GetHanziAll3);
|
|
|
10
|
+//router.get('/api/GetEnglishAll3',hanzi.GetEnglishAll3);
|
|
|
11
|
+router.get('/api/GetSoundErrorArr',hanzi.GetSoundErrorArr);
|
|
|
12
|
+
|
|
|
13
|
+router.get('/api/GetHanziDetail',hanzi.GetHanziDetail);
|
|
|
14
|
+router.post('/api/AddHanziRecord',hanzi.AddHanziRecord);
|
|
|
15
|
+router.post('/api/UpdateHanziRecord',hanzi.UpdateHanziRecord);
|
|
|
16
|
+router.get('/api/GetHanziRecordData',hanzi.GetHanziRecordData);
|
|
|
17
|
+router.post('/api/UpdateHanziFinished',hanzi.UpdateHanziFinished);
|
|
|
18
|
+router.get('/api/GetHanziFinishedData',hanzi.GetHanziFinishedData);
|
|
|
19
|
+router.post('/api/UpdateHanziReview',hanzi.UpdateHanziReview);
|
|
|
20
|
+router.get('/api/GetHanziReviewList',hanzi.GetHanziReviewList);
|
|
|
21
|
+router.get('/api/SearchHanzi',hanzi.SearchHanzi);
|
|
|
22
|
+router.get('/api/GetHanziUserListByIntroducer',hanzi.GetHanziUserListByIntroducer);
|
|
|
23
|
+
|
|
|
24
|
+router.get('/api/GetHanziWordListByUnitID',hanzi.GetHanziWordListByUnitID);
|
|
|
25
|
+router.post('/api/AddHanziCustom',hanzi.AddHanziCustom);
|
|
|
26
|
+router.get('/api/GetHanziCustomList',hanzi.GetHanziCustomList);
|
|
|
27
|
+
|
|
|
28
|
+router.get('/api/GetHanziTestList',hanzi.GetHanziTestList);
|
|
|
29
|
+router.get('/api/GetHanziUnitWords',hanzi.GetHanziUnitWords);
|
|
|
30
|
+router.get('/api/GetHanziAll0124',hanzi.GetHanziAll0124);
|
|
|
31
|
+
|
|
|
32
|
+router.post('/api/GetHanziByBookID',hanzi.GetHanziByBookID);
|
|
|
33
|
+
|
|
|
34
|
+
|
|
|
35
|
+export default router;
|