From 838fbce914fcb55488a9463aca7d2bcb87a4d344 Mon Sep 17 00:00:00 2001 From: hailin Date: Thu, 25 Dec 2025 21:59:30 -0800 Subject: [PATCH] =?UTF-8?q?chore(mobile-app):=20=E7=BC=A9=E7=9F=AD?= =?UTF-8?q?=E5=90=88=E5=90=8C=E6=A3=80=E6=9F=A5=E5=AE=9A=E6=97=B6=E5=99=A8?= =?UTF-8?q?=E9=97=B4=E9=9A=94=E8=87=B35-20=E7=A7=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .../features/home/presentation/pages/home_shell_page.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/mobile-app/lib/features/home/presentation/pages/home_shell_page.dart b/frontend/mobile-app/lib/features/home/presentation/pages/home_shell_page.dart index 108e489c..0eefda0b 100644 --- a/frontend/mobile-app/lib/features/home/presentation/pages/home_shell_page.dart +++ b/frontend/mobile-app/lib/features/home/presentation/pages/home_shell_page.dart @@ -83,12 +83,12 @@ class _HomeShellPageState extends ConsumerState _scheduleNextContractCheck(); } - /// 安排下一次合同检查(随机 60-180 秒) + /// 安排下一次合同检查(随机 5-20 秒) void _scheduleNextContractCheck() { _contractCheckTimer?.cancel(); - // 随机 60-180 秒(1-3分钟) - final randomSeconds = 60 + Random().nextInt(121); // 60 + 0~120 = 60~180 + // 随机 5-20 秒 + final randomSeconds = 5 + Random().nextInt(16); // 5 + 0~15 = 5~20 debugPrint('[HomeShellPage] 下次合同检查将在 $randomSeconds 秒后执行'); _contractCheckTimer = Timer(Duration(seconds: randomSeconds), () async {