puzhibing
2024-03-05 794a2ec5fa219a0a87be0c72bd59602cb9f6c6dc
cloud-server-competition/src/main/java/com/dsh/competition/util/TaskUtil.java
@@ -28,4 +28,14 @@
            e.printStackTrace();
        }
    }
    @Scheduled(fixedRate = 60000)
    public void money() {
        try {
            //定时修改赛事状态
            competitionService.moneyOut();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}