guhongwei 4 years ago
parent
commit
406e61b236
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/router.js

+ 1 - 1
app/router.js

@@ -6,6 +6,6 @@
 module.exports = app => {
 module.exports = app => {
   const { router, controller } = app;
   const { router, controller } = app;
   // 測試
   // 測試
-  router.resources("test", "/api/servicezhwl/test", controller.test); // index、create、show、destroy
+  router.resources('test', '/api/servicezhwl/test', controller.test); // index、create、show、destroy
   router.post('test', '/api/servicezhwl/test/update/:id', controller.test.update);
   router.post('test', '/api/servicezhwl/test/update/:id', controller.test.update);
 };
 };