From 941e7f85e11070d28722aada979c1ea9ca035369 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A3=B7=E5=8F=B6?= <14103883+leaf-phos@user.noreply.gitee.com> Date: Fri, 25 Oct 2024 15:37:43 +0800 Subject: [PATCH] =?UTF-8?q?debug:=E5=BE=AE=E4=BF=A1=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E6=B3=A8=E5=86=8C=E5=8A=A0=E9=94=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ss/transactionBill/service/impl/RechargePayHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/smart-switch-service/src/main/java/com/ruoyi/ss/transactionBill/service/impl/RechargePayHandler.java b/smart-switch-service/src/main/java/com/ruoyi/ss/transactionBill/service/impl/RechargePayHandler.java index bf591288..909e2c84 100644 --- a/smart-switch-service/src/main/java/com/ruoyi/ss/transactionBill/service/impl/RechargePayHandler.java +++ b/smart-switch-service/src/main/java/com/ruoyi/ss/transactionBill/service/impl/RechargePayHandler.java @@ -124,8 +124,8 @@ public class RechargePayHandler implements AfterPay, AfterRefund { // 操作成功 if (result != null && result == 1) { - // 充值设备,尝试3次 - transactionBillService.rechargeDevice(bill.getBillId(), 3); + // 充值设备,尝试2次 + transactionBillService.rechargeDevice(bill.getBillId(), 2); // 5秒后,设备设置语音播报 scheduledExecutorService.schedule(() -> {