|
@@ -16,7 +16,7 @@ public class AppAdJob {
|
|
|
private ISysDictDataService dictDataService;
|
|
|
|
|
|
|
|
|
- @Scheduled(cron = "0 0 19 * * ?")
|
|
|
+ @Scheduled(cron = "0 0 13 * * ?")
|
|
|
public void openAd() {
|
|
|
log.info("--------打开广告!~---------------");
|
|
|
SysDictData splashAd = dictDataService.selectDictDataById(104l);
|
|
@@ -33,7 +33,7 @@ public class AppAdJob {
|
|
|
}
|
|
|
|
|
|
|
|
|
- @Scheduled(cron = "0 0 6 * * ?")
|
|
|
+ @Scheduled(cron = "0 30 8 * * ?")
|
|
|
public void closeAd() {
|
|
|
log.info("--------关闭广告!~---------------");
|
|
|
SysDictData splashAd = dictDataService.selectDictDataById(104l);
|
|
@@ -43,7 +43,7 @@ public class AppAdJob {
|
|
|
nativeAd.setDictValue("0");
|
|
|
bannerAd.setDictValue("0");
|
|
|
//dictDataService.updateDictData(splashAd);
|
|
|
- dictDataService.updateDictData(nativeAd);
|
|
|
+ //dictDataService.updateDictData(nativeAd);
|
|
|
//dictDataService.updateDictData(bannerAd);
|
|
|
|
|
|
}
|