Compare commits

..

No commits in common. "a96f0b2165fe4a6e2efbc1df178bef6dc3cb8dc2" and "12757da62af3df9c89356de211f805f1b831bc88" have entirely different histories.

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(emailCode,email); redisService.set(email,emailCode);
return R.ok( "发送成功"); return R.ok( "发送成功");
}catch (Exception e){ }catch (Exception e){
e.printStackTrace(); e.printStackTrace();