/** * restful api 子路由 */ const router = require('koa-router')() const userController = require('./../controllers/user') const routers = router .post('/user/signIn.json', userController.signIn) module.exports = routers