feat: 1.uni-ad广告回调接入 2.广告奖励免费观看时长
This commit is contained in:
@@ -99,7 +99,7 @@ public class RedisServiceImpl implements RedisService {
|
||||
Integer second = jsonObject.getInteger("second");
|
||||
if (expireTime == -1) {
|
||||
jsonObject.put("expireTime", DateUtil.offsetSecond(DateUtil.date(), second).getTime());
|
||||
redisUtils.set(watchKey, jsonObject.toJSONString());
|
||||
redisUtils.set(watchKey, jsonObject.toJSONString(), -1);
|
||||
return false;
|
||||
}else {
|
||||
return DateUtil.current() > expireTime;
|
||||
|
||||
Reference in New Issue
Block a user