What is the problem in the nodejs controller function?

前端 未结 0 1601
心在旅途
心在旅途 2021-01-13 17:31
exports.signupController = async (req, res) => { 
const { phone, password } = req.body;
try {
    const user = await User.findOne({ phone }).exec()
    if (user)          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题