|
|
@@ -201,7 +201,7 @@ public class HpUserService extends CrudService<HpUserMapper, HpUser> {
|
|
|
throw new OtherException("10000", "短信验证码发送失败,请稍后重试");
|
|
|
}
|
|
|
//将获取到的验证码存到redis中
|
|
|
- CacheUtils.put(APP_USER, mobile, captcha);
|
|
|
+ CacheUtils.put(APP_USER, mobile, captcha,600);
|
|
|
returnMap.put("success", 200);
|
|
|
returnMap.put("msg", "获取短信验证码成功!");
|
|
|
returnMap.put("code", captcha);
|