|
|
@@ -101,13 +101,22 @@ public class ToolsSiteJob {
|
|
|
|
|
|
}
|
|
|
|
|
|
+ private final String KEY = "bb3648b0b93f2f82135a6dac38dc418f808346a434";
|
|
|
+
|
|
|
@XxlJob("regularUpdatesState")
|
|
|
public void regularUpdatesState() throws Exception {
|
|
|
log.info("执行更新短剧上下架状态...");
|
|
|
//更新短剧上下架状态 当前域名为测试域名TODO
|
|
|
String url = "http://test.api.cms.artlinkworld.cn/videoAppletShow/regularUpdatesState";
|
|
|
- String key = "bb3648b0b93f2f82135a6dac38dc418f808346a434";
|
|
|
- HttpUtils.httpGet(String.format("%s?id=%s", url, key), null, null);
|
|
|
+ HttpUtils.httpGet(String.format("%s?id=%s", url, KEY), null, null);
|
|
|
}
|
|
|
|
|
|
+ @XxlJob("regularUpdateVideoInfo")
|
|
|
+ public void regularUpdateVideoInfo() throws Exception {
|
|
|
+ log.info("定期更新短剧审核信息...");
|
|
|
+ //定期更新短剧审核信息 当前域名为测试域名TODO
|
|
|
+ String url = "http://test.api.cms.artlinkworld.cn/thirtPartVideo/regularUpdateVideoInfo";
|
|
|
+ HttpUtils.httpGet(String.format("%s?platform=1&id=%s", url, KEY), null, null);
|
|
|
+ HttpUtils.httpGet(String.format("%s?platform=2&id=%s", url, KEY), null, null);
|
|
|
+ }
|
|
|
}
|