Ver Fonte

添加达人补全定时

zhaoxian há 1 ano atrás
pai
commit
3311835444

+ 1 - 3
module-job-kuaishou/src/main/java/cn/com/ctop/job/kuaishou/handler/CheckPromoterJob.java

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