|
@@ -13,5 +13,7 @@ module.exports = app => {
|
|
router.get('schedule', `${prefix}/schedule/check`, controller[index].schedule.check);
|
|
router.get('schedule', `${prefix}/schedule/check`, controller[index].schedule.check);
|
|
router.resources('schedule', `${prefix}/schedule`, controller[index].schedule); // index、create、show、destroy
|
|
router.resources('schedule', `${prefix}/schedule`, controller[index].schedule); // index、create、show、destroy
|
|
router.post('schedule', `${prefix}/schedule/update/:id`, controller[index].schedule.update);
|
|
router.post('schedule', `${prefix}/schedule/update/:id`, controller[index].schedule.update);
|
|
-
|
|
|
|
|
|
+ // 通知
|
|
|
|
+ router.resources('notice', `${prefix}/notice`, controller[index].notice); // index、create、show、destroy
|
|
|
|
+ router.post('notice', `${prefix}/notice/update/:id`, controller[index].notice.update);
|
|
};
|
|
};
|