diff --git a/src/main/java/com/hisense/monitormanage/service/PassengerFlowService.java b/src/main/java/com/hisense/monitormanage/service/PassengerFlowService.java index 69a9e93..bd23c2b 100644 --- a/src/main/java/com/hisense/monitormanage/service/PassengerFlowService.java +++ b/src/main/java/com/hisense/monitormanage/service/PassengerFlowService.java @@ -54,6 +54,7 @@ public class PassengerFlowService { * @param * @return List */ + //{"APIKEY":"202204141052331249fcc8-046","ParamJson":{"data":"{\"appId\":\"apitest\",\"mac\":\"f51093001255129b88deba6c5045ee26\",\"timeStamp\":\"20220510152759\",\"hourId\":\"2022051013\",\"timeId\":\"202205101300\"}"}} public List passengerFlow(){ //JSONObject map = new JSONObject(); Map map = new HashMap<>(); @@ -101,8 +102,8 @@ public class PassengerFlowService { } return list; } - @Scheduled(cron = "0 30 11-23/1 * * ? ") - //11:30 到晚上11:30,一小时一次 + @Scheduled(cron = "0 31 10-22/1 * * ? ") + //10:31 到晚上10:31,每小时的31分执行一次 public void passengerFlowSchedule(){ //JSONObject map = new JSONObject(); Map map = new HashMap<>();