const fn_router = require('koa-router'); const router = fn_router();. 然后,我们使用 router.get('/path', async fn) 来注册一个GET请求。可以在请求路径中 ...
確定! 回上一頁