commit
This commit is contained in:
@@ -63,7 +63,7 @@ public class ValidateService {
|
||||
NutMap map = Json.fromJson(NutMap.class, result);
|
||||
if ("0".equals(map.getString("code"))) {
|
||||
log.debug("sms code:::" + text);
|
||||
redisService.setex(RedisConstant.REDIS_SMSCODE_KEY + mobile, 43200, text);
|
||||
redisService.setex(RedisConstant.REDIS_SMSCODE_KEY + mobile, 300, text);
|
||||
redisService.setex(RedisConstant.REDIS_SMSCODE_KEY + mobile + ":LOCK", 60, text);
|
||||
return NutMap.NEW().addv("key", RedisConstant.REDIS_SMSCODE_KEY + mobile);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user