博客系统之验证用户名和密码
摘要:
返回Promise,成功则返回用户信息 const login = function (userModel,condition) { const rtn = new Promise((reslove, reject) => { userModel.find(condition, (err, docs 阅读全文
posted @ 2021-05-27 18:55 丁同亚的博客 阅读(103) 评论(0) 推荐(0)
浙公网安备 33010602011771号