|
|
@@ -99,7 +99,7 @@ public class PlanServiceImpl implements PlanServiceInterface {
|
|
|
integer = integer + 1;
|
|
|
}
|
|
|
}
|
|
|
- stringRedisTemplate.opsForHash().put(redisKey, code, integer);
|
|
|
+ stringRedisTemplate.opsForHash().put(redisKey, code, integer.toString());
|
|
|
// 设置过期时间
|
|
|
LocalDateTime expireTime = LocalDateTime.of(LocalDate.now().plusDays(1), LocalTime.of(4,0));
|
|
|
long minute = Duration.between(LocalDateTime.now(), expireTime).toMinutes();
|