node-login icon indicating copy to clipboard operation
node-login copied to clipboard

'save的回掉处理,路由返回404',我也碰到了,请问知道是什么原因了吗

Open torresyb opened this issue 7 years ago • 0 comments

            // 下面会代码执行时,会直接先跳过save的回掉处理,路由返回404,再执行err回掉,原因暂不清楚
            // await newUser.save(err => {
            //     if (err) {
            //         ctx.body = result;
            //     } else {
            //         ctx.body = {success: true, message: '注册成功'}
            //     }
            // })

再就是doc.errors有errors这个属性吗

torresyb avatar Jan 09 '18 17:01 torresyb