1234567891011 |
- 'use strict';
- /**
- * @param {Egg.Application} app - egg application
- */
- module.exports = app => {
- const { router, controller } = app;
- // 測試
- router.resources("test", "/api/servicezhwl/test", controller.test); // index、create、show、destroy
- router.post('test', '/api/servicezhwl/test/update/:id', controller.test.update);
- };
|