1. query 参数获取 // eg: test?id=1 const { id } = this.ctx.query 2. path 参数获取 // eg: test/:id => test/1 const { id } = this.ctx.params; 3. body 参数获取 const bodyData = this.ctx.request.body; 4. header 参数获取 const header = this.ctx.header; 5. 请求路径获取 const url = this.ctx.originalUrl;