修改邮箱bug

This commit is contained in:
ETHEREAL 2024-06-19 16:25:23 +08:00
parent eed1b0f98b
commit 7d0700a64b
1 changed files with 1 additions and 1 deletions

View File

@ -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();