Compare commits

...

2 Commits

Author SHA1 Message Date
ETHEREAL a96f0b2165 Merge remote-tracking branch 'origin/main' 2024-06-19 16:25:45 +08:00
ETHEREAL 7d0700a64b 修改邮箱bug 2024-06-19 16:25:23 +08:00
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ public class EmailServiceImpl implements EmailService {
//发送邮件 //发送邮件
javaMailSender.send(mimeMessageHelper.getMimeMessage()); javaMailSender.send(mimeMessageHelper.getMimeMessage());
//将验证码和注册邮箱存入redis //将验证码和注册邮箱存入redis
redisService.set(email,emailCode); redisService.set(emailCode,email);
return R.ok( "发送成功"); return R.ok( "发送成功");
}catch (Exception e){ }catch (Exception e){
e.printStackTrace(); e.printStackTrace();