修改邮箱bug
This commit is contained in:
parent
eed1b0f98b
commit
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