|
@@ -9,11 +9,11 @@ import java.util.Date;
|
|
|
|
|
|
@Component
|
|
@Component
|
|
public class BytedanceRejectReasonJob {
|
|
public class BytedanceRejectReasonJob {
|
|
- private static final String URLPREFIX = "http://118.24.244.213:8080/bytedance-api/ctop/bytedanceRejectReason/getReasonInRecentHours?hour=";
|
|
|
|
|
|
+ private static final String URLPREFIX = "http://118.24.244.213:8808/bytedance-api/ctop/bytedanceRejectReason/getReasonInRecentHours?hour=";
|
|
@XxlJob("bytedanceRejectReasonJob")
|
|
@XxlJob("bytedanceRejectReasonJob")
|
|
public void execute() throws Exception {
|
|
public void execute() throws Exception {
|
|
|
|
|
|
//定时任务设置每2个小时执行一次,就传入参数hour是2.每次运行获取2个小时内的计划,拉取审核建议
|
|
//定时任务设置每2个小时执行一次,就传入参数hour是2.每次运行获取2个小时内的计划,拉取审核建议
|
|
- HttpUtils.httpGet(URLPREFIX + 2, null, null);
|
|
|
|
|
|
+ HttpUtils.httpGet(URLPREFIX + 24, null, null);
|
|
}
|
|
}
|
|
}
|
|
}
|