|
@@ -46,6 +46,7 @@ module.exports = app => {
|
|
|
'/api/train/teacher/status',
|
|
|
controller.teacher.status
|
|
|
);
|
|
|
+ router.post('/api/train/teacher/teaimport', controller.teacher.teaimport);
|
|
|
|
|
|
// 作业表配置路由
|
|
|
router.resources('task', '/api/train/task', controller.task); // index、create、show、destroy
|