liuyu преди 4 години
родител
ревизия
822717edb9
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4 0
      app/router.js

+ 4 - 0
app/router.js

@@ -77,6 +77,10 @@ module.exports = app => {
   router.resources('trainplan', '/api/train/trainplan', controller.trainplan); // index、create、show、destroy
   router.post('trainplan', '/api/train/trainplan/update/:id', controller.trainplan.update);
 
+  // 培训计划年度批次表设置路由
+  router.resources('trainplanyear', '/api/train/trainplanyear', controller.trainplanyear); // index、create、show、destroy
+  router.post('trainplanyear', '/api/train/trainplanyear/update/:id', controller.trainplanyear.update);
+
   // 节假日表设置路由
   router.resources('festival', '/api/train/festival', controller.festival); // index、create、show、destroy
   router.post('festival', '/api/train/festival/update/:id', controller.festival.update);