浏览代码

添加达人补全定时

zhaoxian 1 年之前
父节点
当前提交
66c87f6f96

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

@@ -13,16 +13,13 @@ import org.springframework.stereotype.Component;
  */
  */
 @Component
 @Component
 public class CheckPromoterJob {
 public class CheckPromoterJob {
-    @Autowired
-    private RuleAccountTemplateMapper ruleAccountTemplateMapper;
 
 
     String URLPREFIX = "http://ruixuan.api.tjyourong.com.cn/kuaishou/promoter/supplementInfo";
     String URLPREFIX = "http://ruixuan.api.tjyourong.com.cn/kuaishou/promoter/supplementInfo";
 
 
 
 
     @XxlJob("supplementPromoterJob")
     @XxlJob("supplementPromoterJob")
-    public void execute() throws Exception {
+    public void supplementPromoterJob() throws Exception {
         HttpUtils.httpGet(URLPREFIX, null, null);
         HttpUtils.httpGet(URLPREFIX, null, null);
         XxlJobHelper.log(" --------达人补全,执行完成-------- ");
         XxlJobHelper.log(" --------达人补全,执行完成-------- ");
-
     }
     }
 }
 }