|
|
@@ -154,7 +154,7 @@ public class DomainOrderService {
|
|
|
public void increaseCount(Long userId, Long count) {
|
|
|
BoundValueOperations<String, Object> ops = redisTemplate.boundValueOps(RedisKeys.DOMAIN_COUNT + userId);
|
|
|
if (ops.get() == null) {
|
|
|
- Boolean success = ops.setIfAbsent(count);
|
|
|
+ Boolean success = ops.setIfAbsent(count.intValue());
|
|
|
log.info("创建redis域名统计:{}", success);
|
|
|
}
|
|
|
ops.increment(count);
|