From 5dc40fcd64b0513150f1d8335ab849e6d8cdc28e Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期五, 04 七月 2025 19:42:49 +0800 Subject: [PATCH] 支付版本更新 根据资金流向使用V2或V3服务商版本支付 --- cloud-server-competition/src/main/java/com/dsh/competition/util/TaskUtil.java | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/cloud-server-competition/src/main/java/com/dsh/competition/util/TaskUtil.java b/cloud-server-competition/src/main/java/com/dsh/competition/util/TaskUtil.java index 73a09f3..b22918d 100644 --- a/cloud-server-competition/src/main/java/com/dsh/competition/util/TaskUtil.java +++ b/cloud-server-competition/src/main/java/com/dsh/competition/util/TaskUtil.java @@ -20,7 +20,7 @@ * 每隔一分钟去处理的定时任务 */ @Scheduled(fixedRate = 60000) - public void taskMinute(){ + public void taskMinute() { try { //定时修改赛事状态 competitionService.taskSetStatus(); @@ -28,4 +28,14 @@ e.printStackTrace(); } } + + @Scheduled(fixedRate = 60000) + public void money() { + try { + //定时修改赛事状态 + competitionService.moneyOut(); + } catch (Exception e) { + e.printStackTrace(); + } + } } -- Gitblit v1.7.1