|
|
@ -137,7 +137,7 @@ public class TiktokUserServiceImpl implements TiktokUserService { |
|
|
if(redisService.hasHashKey(redisKey,hashKey)){ |
|
|
if(redisService.hasHashKey(redisKey,hashKey)){ |
|
|
//存在键,判断次数,次数达标则不可下载
|
|
|
//存在键,判断次数,次数达标则不可下载
|
|
|
Integer downloadNum = redisService.getCacheMapValue(redisKey, hashKey); |
|
|
Integer downloadNum = redisService.getCacheMapValue(redisKey, hashKey); |
|
|
if(downloadNum >= 5){ |
|
|
if(downloadNum >= 10){ |
|
|
return true; |
|
|
return true; |
|
|
}else{ |
|
|
}else{ |
|
|
return false; |
|
|
return false; |
|
|
|