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