fix: sign/up 加入错误返回信息
This commit is contained in:
@@ -93,9 +93,10 @@ module.exports = {
|
||||
});
|
||||
})
|
||||
.catch(err => {
|
||||
mylog.error(err);
|
||||
res.json({
|
||||
code: 3,
|
||||
msg: err,
|
||||
msg: JSON.stringify(err),
|
||||
});
|
||||
});
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user