From 5350bd6fa7094f10accf3e5a8a6c7990ad5ff785 Mon Sep 17 00:00:00 2001 From: 付智勇 <fuzhiyong@efangtec.com> Date: Wed, 6 Sep 2017 15:33:12 +0800 Subject: [PATCH] no message --- services/userService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- libgit2 0.24.0