diff --git a/services/userService.js b/services/userService.js index fa1310e..3e2a0ae 100644 --- a/services/userService.js +++ b/services/userService.js @@ -27,7 +27,7 @@ try{ let newUser = await userModel.create(data) console.log(newUser); if(newUser.userRole ==3 && data.time == 1){ - let e = await emailUtil.sendMail(newUser.userEmail,'认证邮件', '您已经成为学点云网校认证老师') + let e = await emailUtil.sendMail(newUser.userEmail,'认证邮件', '您已经成为学点云网校认证老师,您的用户名是'+data.loginName+",密码是123456") } // t.commit(); return newUser;