Commit e21878d7 by Sxy

fix: log error

parent ecd3abc1
...@@ -67,6 +67,7 @@ module.exports = function (app) { ...@@ -67,6 +67,7 @@ module.exports = function (app) {
success: true success: true
}); });
} catch (err) { } catch (err) {
console.log(err);
res.json({ res.json({
status: 0, status: 0,
msg: err.message, msg: err.message,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment