Explorar el Código

添加达人补全定时

zhaoxian hace 1 año
padre
commit
1cf68eb73e

+ 1 - 4
module-job-bytedance/src/main/java/cn/com/ctop/job/bytedance/handler/SupplementPromoterJob.java

@@ -1,11 +1,9 @@
 package cn.com.ctop.job.bytedance.handler;
 
 
-import cn.com.ctop.alarm.modules.mapper.RuleAccountTemplateMapper;
 import cn.com.ctop.common.module.utils.HttpUtils;
 import com.xxl.job.core.context.XxlJobHelper;
 import com.xxl.job.core.handler.annotation.XxlJob;
-import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Component;
 
 /**
@@ -16,9 +14,8 @@ public class SupplementPromoterJob {
 
     String URLPREFIX = "http://ruixuan.api.tjyourong.com.cn/kuaishou/promoter/supplementInfo";
 
-
     @XxlJob("supplementPromoterJob")
-    public void supplementPromoterJob() throws Exception {
+    public void execute() throws Exception {
         HttpUtils.httpGet(URLPREFIX, null, null);
         XxlJobHelper.log(" --------达人补全,执行完成-------- ");
     }