How to use the remark function from koa-body
Find comprehensive JavaScript koa-body.remark code examples handpicked from public code repositorys.
GitHub: GATING/ninja
96 97 98 99 100 101 102 103 104 105 106
}); router.post("/api/update/remark", body(), async (ctx) => { const body = ctx.request.body; const eid = body.eid; const remark = body.remark; const user = new User({ eid, remark }); const data = await user.updateRemark(); ctx.body = { data }; });
3
4
0
+ 3 other calls in file
koa-body.eid is the most popular function in koa-body (111 examples)