首页 »
在 2021年2月 发布的文章
koa如何进行常见请求操作1.get传值接受请求参数放在 URL 后面url = 'http://localhost:3000/home?id=12&name=ikcamp' router.get("/admin/get", async (ctx) => { let ctx_query = ctx.query; consol