feat: 1.uni-ad广告回调接入 2.广告奖励免费观看时长

This commit is contained in:
张松
2024-12-23 17:07:03 +08:00
parent f11ae848b0
commit 45a7224b99

View File

@@ -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;