|
@@ -67,7 +67,8 @@ public class VisualController {
|
|
|
private ICountyInteractiveColumnsService countyInteractiveColumnsService;
|
|
|
@Autowired
|
|
|
private RestTemplate restTemplate;
|
|
|
- private final String postUrl = "http://175.22.1.26:8080";
|
|
|
+// private final String postUrl = "http://175.22.1.26:8080";
|
|
|
+ private final String postUrl = "http://localhost:8080";
|
|
|
private final String authorization = "Bearer ";
|
|
|
|
|
|
/**
|
|
@@ -218,7 +219,7 @@ public class VisualController {
|
|
|
/**
|
|
|
* 市直部门日更新访问量排名-市直部门日访问量排名-数据推送接口
|
|
|
*/
|
|
|
- @Scheduled(cron = "0 0 0/1 * * ?")
|
|
|
+ @Scheduled(cron = "0 0 23 * * ?")
|
|
|
public Result<?> insertDailyTrafficRanking() {
|
|
|
log.info("市直部门日更新访问量排名-市直部门日访问量排名:" + System.currentTimeMillis());
|
|
|
String token = getToken();
|
|
@@ -231,7 +232,7 @@ public class VisualController {
|
|
|
/**
|
|
|
* 市直部门日更新访问量排名-市直部门日更新量排名-数据推送接口
|
|
|
*/
|
|
|
- @Scheduled(cron = "0 0 0/1 * * ?")
|
|
|
+ @Scheduled(cron = "0 0 0 1 * ?")
|
|
|
public Result<?> insertDailyUpdateRanking() {
|
|
|
log.info("市直部门日更新访问量排名-市直部门日更新量排名:" + System.currentTimeMillis());
|
|
|
String token = getToken();
|
|
@@ -244,7 +245,7 @@ public class VisualController {
|
|
|
/**
|
|
|
* 县(市)区政府日更新访问量排名-县(市)区政府日访问量排名-数据推送接口
|
|
|
*/
|
|
|
- @Scheduled(cron = "0 0 0/1 * * ?")
|
|
|
+ @Scheduled(cron = "0 0 23 * * ?")
|
|
|
public Result<?> insertCountyDailyTrafficRanking() {
|
|
|
log.info("县(市)区政府日更新访问量排名-县(市)区政府日访问量排名:" + System.currentTimeMillis());
|
|
|
String token = getToken();
|
|
@@ -257,7 +258,7 @@ public class VisualController {
|
|
|
/**
|
|
|
* 县(市)区政府日更新访问量排名 - 县(市)区政府日更新量排名-数据推送接口
|
|
|
*/
|
|
|
- @Scheduled(cron = "0 0 0/1 * * ?")
|
|
|
+ @Scheduled(cron = "0 0 0 1 * ?")
|
|
|
public Result<?> insertCountyDailyUpdateRanking() {
|
|
|
log.info("县(市)区政府日更新访问量排名 - 县(市)区政府日更新量排名:" + System.currentTimeMillis());
|
|
|
String token = getToken();
|
|
@@ -270,7 +271,7 @@ public class VisualController {
|
|
|
/**
|
|
|
* 市政府网站群互动类栏目更新情况-市直部门-数据推送接口
|
|
|
*/
|
|
|
- @Scheduled(cron = "0 0 0/2 * * ?")
|
|
|
+ @Scheduled(cron = "0 0 0 1 * ?")
|
|
|
public Result<?> insertMunicipalInteractiveColumns() {
|
|
|
log.info("市政府网站群互动类栏目更新情况-市直部门:" + System.currentTimeMillis());
|
|
|
String token = getToken();
|
|
@@ -283,7 +284,7 @@ public class VisualController {
|
|
|
/**
|
|
|
* 市政府网站群互动类栏目更新情况-区、开发区-数据推送接口
|
|
|
*/
|
|
|
- @Scheduled(cron = "0 0 0/2 * * ?")
|
|
|
+ @Scheduled(cron = "0 0 0 1 * ?")
|
|
|
public Result<?> insertAreaInteractiveColumns() {
|
|
|
log.info("市政府网站群互动类栏目更新情况-区、开发区:" + System.currentTimeMillis());
|
|
|
String token = getToken();
|
|
@@ -296,7 +297,7 @@ public class VisualController {
|
|
|
/**
|
|
|
* 市政府网站群互动类栏目更新情况告警展示-县(市)-数据推送接口
|
|
|
*/
|
|
|
- @Scheduled(cron = "0 0 0/2 * * ?")
|
|
|
+ @Scheduled(cron = "0 0 0 1 * ?")
|
|
|
public Result<?> insertCountyInteractiveColumns() {
|
|
|
log.info("市政府网站群互动类栏目更新情况告警展示-县(市):" + System.currentTimeMillis());
|
|
|
String token = getToken();
|