From 56481656c7de11cdca69c1a7dd69db176ffd9ecd Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期六, 08 五月 2021 12:49:30 +0800 Subject: [PATCH] 华为屏蔽金币任务中的看海量视频,新增广告平台概率控制 --- src/main/java/com/yeshi/buwan/service/imp/ad/FloatADServiceImpl.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/yeshi/buwan/service/imp/ad/FloatADServiceImpl.java b/src/main/java/com/yeshi/buwan/service/imp/ad/FloatADServiceImpl.java index 912766b..d0c4bb6 100644 --- a/src/main/java/com/yeshi/buwan/service/imp/ad/FloatADServiceImpl.java +++ b/src/main/java/com/yeshi/buwan/service/imp/ad/FloatADServiceImpl.java @@ -3,6 +3,7 @@ import com.yeshi.buwan.dao.recommend.FloatADDao; import com.yeshi.buwan.domain.recommend.FloatAD; import com.yeshi.buwan.service.inter.ad.FloatADService; +import com.yeshi.buwan.util.TimeUtil; import org.springframework.stereotype.Service; import javax.annotation.Resource; @@ -17,6 +18,6 @@ @Override public List<FloatAD> listShowAD(int page, int pageSize) { - return floatADDao.list(true, new Date(), (page - 1) * pageSize, pageSize); + return floatADDao.list(true,new Date(), (page - 1) * pageSize, pageSize); } } -- Gitblit v1.8.0