Koa2 async

when you guys contact koa for the first time, could you tell me what my ctx.body equals before I can return err.message?

Mar.19,2021

try changing Promise to a non-callback method

await userList.create(getData).then(res=>{
    console.log("");
}).catch(e=>{
    ctx.body={msg:e.message};
});
Menu