|
@@ -40,6 +40,7 @@ module.exports = app => {
|
|
|
router.get('questionnaire', '/api/train/questionnaire/show/:id', controller.questionnaire.show);
|
|
|
|
|
|
// 学生表设置路由
|
|
|
+ router.get('sutdent', '/api/train/student/seek', controller.student.seek);
|
|
|
router.resources('student', '/api/train/student', controller.student); // index、create、show、destroy
|
|
|
router.post('student', '/api/train/student/update/:id', controller.student.update);
|
|
|
|