app.post('/login', function (req, res) { var user; ... { res.send({ code: 400, msg: "password is wrong" }); } } else { //此使用者不存在 res.send({ code: 404, ...
確定! 回上一頁