... 动态路由http://localhost:3000/newscontent/xxxx router.get('/newscontent/:aid',async (ctx)=>{ //获取动态路由的传值console.log(ctx.params); //{ aid: '456' } ...
確定! 回上一頁