chore: release client-v1.0.61
Deploy Client / build-client-web (push) Successful in 38s
Deploy Client / build-windows (push) Successful in 1m52s
Deploy Client / build-macos (push) Successful in 1m55s
Deploy Client / build-android (push) Successful in 1m0s
Deploy Client / build-ios (push) Successful in 2m47s
Deploy Client / release-deploy-client (push) Successful in 1m21s

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
wangjia
2026-06-20 08:56:02 +08:00
parent 2b6178892f
commit 36c7ad8b43
77 changed files with 328 additions and 261 deletions
+2 -1
View File
@@ -3,6 +3,7 @@ import 'package:flutter/foundation.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import '../core/api/api_client.dart';
import '../core/auth/auth_state.dart';
import '../core/config/app_constants.dart';
import 'license_provider.dart';
/// 登录态心跳:已登录时每 30s 执行一次 **单个** POST /auth/ping
@@ -27,7 +28,7 @@ class SessionHeartbeat {
void start() {
_timer?.cancel();
_timer = Timer.periodic(const Duration(seconds: 30), (_) => _ping());
_timer = Timer.periodic(AppConstants.heartbeatInterval, (_) => _ping());
}
Future<void> _ping() async {