|
@@ -79,7 +79,7 @@ module.exports = app => {
|
|
router.post('schtime', '/api/train/schtime/update/:id', controller.schtime.update);
|
|
router.post('schtime', '/api/train/schtime/update/:id', controller.schtime.update);
|
|
|
|
|
|
// 班主任全年计划表设置路由
|
|
// 班主任全年计划表设置路由
|
|
- router.get('teaplan', '/api/train/teaplan/findteacher', controller.teaplan.findteacher);
|
|
|
|
|
|
+ // router.get('teaplan', '/api/train/teaplan/findteacher', controller.teaplan.findteacher);
|
|
router.resources('teaplan', '/api/train/teaplan', controller.teaplan); // index、create、show、destroy
|
|
router.resources('teaplan', '/api/train/teaplan', controller.teaplan); // index、create、show、destroy
|
|
router.post('teaplan', '/api/train/teaplan/update/:id', controller.teaplan.update);
|
|
router.post('teaplan', '/api/train/teaplan/update/:id', controller.teaplan.update);
|
|
|
|
|
|
@@ -98,6 +98,7 @@ module.exports = app => {
|
|
router.post('group', '/api/train/group/insert', controller.group.insert);
|
|
router.post('group', '/api/train/group/insert', controller.group.insert);
|
|
router.post('group', '/api/train/group/exit', controller.group.exit);
|
|
router.post('group', '/api/train/group/exit', controller.group.exit);
|
|
router.post('group', '/api/train/group/sethead', controller.group.sethead);
|
|
router.post('group', '/api/train/group/sethead', controller.group.sethead);
|
|
|
|
+ router.post('group', '/api/train/group/findbystuid', controller.group.findbystuid);
|
|
|
|
|
|
// 职责说明表设置路由
|
|
// 职责说明表设置路由
|
|
router.resources('duty', '/api/train/duty', controller.duty); // index、create、show、destroy
|
|
router.resources('duty', '/api/train/duty', controller.duty); // index、create、show、destroy
|