Compare commits
2 Commits
12757da62a
...
a96f0b2165
Author | SHA1 | Date |
---|---|---|
ETHEREAL | a96f0b2165 | |
ETHEREAL | 7d0700a64b |
|
@ -59,7 +59,7 @@ public class EmailServiceImpl implements EmailService {
|
|||
//发送邮件
|
||||
javaMailSender.send(mimeMessageHelper.getMimeMessage());
|
||||
//将验证码和注册邮箱存入redis
|
||||
redisService.set(email,emailCode);
|
||||
redisService.set(emailCode,email);
|
||||
return R.ok( "发送成功");
|
||||
}catch (Exception e){
|
||||
e.printStackTrace();
|
||||
|
|
Loading…
Reference in New Issue