摘要: 1.GET 方法 // 商品详情 async detail() { const { ctx } = this; console.log(ctx.query); ctx.body = `id==${ctx.query.id}`; } async detail2() { const { ctx } = 阅读全文
posted @ 2020-02-29 12:00 每天都要进步一点点 阅读(2210) 评论(0) 推荐(0)