From 9a38f81e7e7c817aa539416a41d33856209c7fe1 Mon Sep 17 00:00:00 2001 From: yj <Administrator@192> Date: 星期五, 13 三月 2020 12:49:41 +0800 Subject: [PATCH] 有效粉丝统计bug --- fanli/src/main/java/com/yeshi/fanli/job/DynamicInfoJob.java | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/job/DynamicInfoJob.java b/fanli/src/main/java/com/yeshi/fanli/job/DynamicInfoJob.java index cd96f93..fb515a2 100644 --- a/fanli/src/main/java/com/yeshi/fanli/job/DynamicInfoJob.java +++ b/fanli/src/main/java/com/yeshi/fanli/job/DynamicInfoJob.java @@ -379,4 +379,25 @@ } } + + /** + * 姣忎竴涓皬鏃堕殢鏈哄湪鍒嗕韩鏁扮殑鍩虹涓婂姞10~100銆傚鍔犵殑鏃堕棿娈垫槸姣忓ぉ8~22鐐广�� + * 鏃╀笂6,7,15,16,21,22,23鐐规洿鏂�1娆� + */ + @Scheduled(cron = "0 0 8,9,10,11,12,13,14,15,16,17,18,19,20,21,22 * * ? ") + public void addRanDomShareCount() { + if (!Constant.IS_TASK) { + return; + } + + try { + goodsEvaluateService.addRanDomShareCount(); + } catch (Exception e) { + try { + LogHelper.errorDetailInfo(e); + } catch (Exception e1) { + e1.printStackTrace(); + } + } + } } -- Gitblit v1.8.0