|
@@ -70,7 +70,7 @@ public class UserController {
|
|
|
responseResult.setContent(false);
|
|
responseResult.setContent(false);
|
|
|
responseResult.setMessage("获取验证码失败");
|
|
responseResult.setMessage("获取验证码失败");
|
|
|
String code = CodeGenerator.getInstance().getRandomCode();
|
|
String code = CodeGenerator.getInstance().getRandomCode();
|
|
|
- int result = new EmailTool().sendEmail("拾贝温馨提醒您,您的6位验证码(5分钟内有效)是:" + code, email);
|
|
|
|
|
|
|
+ int result = new EmailTool().sendEmail("伊甸园温馨提醒您,您的6位验证码(5分钟内有效)是:" + code, email);
|
|
|
if (result == EmailTool.SUCCESS) {
|
|
if (result == EmailTool.SUCCESS) {
|
|
|
mCodeMap.put(email, System.currentTimeMillis()+"-"+code);
|
|
mCodeMap.put(email, System.currentTimeMillis()+"-"+code);
|
|
|
responseResult.setCode(ResultCode.SUCCESS);
|
|
responseResult.setCode(ResultCode.SUCCESS);
|