From 30d8e227e8d823b6c38c3b9c90ac2df03b63befe Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期二, 25 二月 2025 16:41:22 +0800
Subject: [PATCH] 淘宝转链接口更新

---
 fanli/src/main/java/com/yeshi/fanli/job/ThreeSaleJob.java |   61 +++++++++++-------------------
 1 files changed, 22 insertions(+), 39 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/job/ThreeSaleJob.java b/fanli/src/main/java/com/yeshi/fanli/job/ThreeSaleJob.java
index d202d2b..9582323 100644
--- a/fanli/src/main/java/com/yeshi/fanli/job/ThreeSaleJob.java
+++ b/fanli/src/main/java/com/yeshi/fanli/job/ThreeSaleJob.java
@@ -1,39 +1,22 @@
-package com.yeshi.fanli.job;
-
-import javax.annotation.Resource;
-
-import org.springframework.scheduling.annotation.Scheduled;
-import org.springframework.stereotype.Component;
-
-import com.yeshi.fanli.service.inter.hongbao.ThreeSaleRankService;
-import com.yeshi.fanli.service.inter.hongbao.ThreeSaleSerivce;
-import com.yeshi.fanli.util.Constant;
-
-@Component
-public class ThreeSaleJob {
-
-	@Resource
-	private ThreeSaleSerivce threeSaleSerivce;
-
-	@Resource
-	private ThreeSaleRankService threeSaleRankService;
-
-	@Scheduled(cron = "0 0 */1 * * ? ")
-	public void twentyFour() {
-//		if (Constant.IS_TASK)
-//			threeSaleSerivce.validateTwentyFour();
-	}
-
-	@Scheduled(cron = "0 0 0 * * ? ")
-	public void aYear() {
-		if (Constant.IS_TASK)
-			threeSaleSerivce.validate365();
-	}
-
-	@Scheduled(cron = "0 0 0 ? * MON ")
-	public void updateRank() {
-		if (Constant.IS_TASK)
-			threeSaleRankService.update();
-	}
-
-}
+package com.yeshi.fanli.job;
+
+import javax.annotation.Resource;
+
+import org.springframework.scheduling.annotation.Scheduled;
+import org.springframework.stereotype.Component;
+
+import com.yeshi.fanli.service.inter.user.invite.ThreeSaleSerivce;
+
+@Component
+public class ThreeSaleJob {
+
+	@Resource
+	private ThreeSaleSerivce threeSaleSerivce;
+
+	@Scheduled(cron = "0 0 */1 * * ? ")
+	public void twentyFour() {
+		// if (Constant.IS_TASK)
+		// threeSaleSerivce.validateTwentyFour();
+	}
+
+}

--
Gitblit v1.8.0