guhongwei il y a 4 ans
Parent
commit
5d96983490
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3 3
      app/router.js

+ 3 - 3
app/router.js

@@ -106,8 +106,8 @@ module.exports = app => {
   router.resources('channelVideo', '/api/live/channelvideo', controller.channelVideo); // index、create、show、destroy
   router.resources('channelVideo', '/api/live/channelvideo', controller.channelVideo); // index、create、show、destroy
   router.post('channelVideo', '/api/live/channelvideo/update/:id', controller.channelVideo.update);
   router.post('channelVideo', '/api/live/channelvideo/update/:id', controller.channelVideo.update);
 
 
-  // // 花表
-  // router.resources('flower', '/api/live/flower', controller.flower); // index、create、show、destroy
-  // router.post('flower', '/api/live/flower/update/:id', controller.flower.update);
+  // 花表
+  router.resources('flower', '/api/live/flower', controller.flower); // index、create、show、destroy
+  router.post('flower', '/api/live/flower/update/:id', controller.flower.update);
 
 
 };
 };