From 0267f58a279a242eacecfea08e6575208efac606 Mon Sep 17 00:00:00 2001 From: "sky.min" Date: Wed, 24 Dec 2025 10:59:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=94=B5=E5=AD=90=E5=AF=86?= =?UTF-8?q?=E9=92=A5/=E6=8E=88=E6=9D=83=E7=AE=A1=E7=90=86=E5=91=98?= =?UTF-8?q?=E4=B8=8B=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/blue/sender_beforeDataManage.dart | 2 +- lib/main/lockDetail/lockDetail/lockDetail_logic.dart | 9 --------- lib/main/lockDetail/lockSet/lockSet/lockSet_page.dart | 10 ---------- 3 files changed, 1 insertion(+), 20 deletions(-) diff --git a/lib/blue/sender_beforeDataManage.dart b/lib/blue/sender_beforeDataManage.dart index aa720d05..e1cb7175 100755 --- a/lib/blue/sender_beforeDataManage.dart +++ b/lib/blue/sender_beforeDataManage.dart @@ -231,7 +231,7 @@ class SenderBeforeDataManage { endHour: isRound ? endTime!.hour : 0, endMin: isRound ? endTime!.minute : 0, role: currentKeyInfo.keyRight == 1 ? 1 : 0, - password: '123456', + password: '', needAuthor: 1, publicKey: publicKeyDataList, privateKey: getPrivateKeyList, diff --git a/lib/main/lockDetail/lockDetail/lockDetail_logic.dart b/lib/main/lockDetail/lockDetail/lockDetail_logic.dart index ad912dc2..6a0cde09 100755 --- a/lib/main/lockDetail/lockDetail/lockDetail_logic.dart +++ b/lib/main/lockDetail/lockDetail/lockDetail_logic.dart @@ -697,15 +697,6 @@ class LockDetailLogic extends BaseGetXController { return; } - // 发送远程开锁API - final LoginEntity entity = await ApiRepository.to.remoteOpenLock( - lockId: state.keyInfos.value.lockId.toString(), - timeOut: 60, - ); - if (entity.errorCode!.codeIsSuccessful) { - AppLog.log('已开锁'.tr); - } - // 网关锁 if (state.keyInfos.value.hasGateway == 1){ // 发送远程开锁API diff --git a/lib/main/lockDetail/lockSet/lockSet/lockSet_page.dart b/lib/main/lockDetail/lockSet/lockSet/lockSet_page.dart index fd803699..d0ade27f 100755 --- a/lib/main/lockDetail/lockSet/lockSet/lockSet_page.dart +++ b/lib/main/lockDetail/lockSet/lockSet/lockSet_page.dart @@ -37,16 +37,6 @@ class _LockSetPageState extends State Future getHttpData() async { logic.getLockSettingInfoData().then((LockSetInfoEntity value) { - // 打印 - final faceAntiMisopenTime = value.data?.lockSettingInfo?.faceEnErrUnlock; - final int motorTorsion = state.lockSetInfoData.value.lockSettingInfo?.motorTorsion ?? 0; - final int autoLockSeconds = state.lockSetInfoData.value.lockSettingInfo?.autoLockSecond ?? 0; - debugPrint('=== 锁面容防误开时间 ==='); - debugPrint('Face Anti-Misopen Time: $faceAntiMisopenTime'); - debugPrint('=== 锁电机功率设置 ==='); - debugPrint('Motor Torsion Setting: $motorTorsion'); - debugPrint('=== 锁自动闭锁时间 ==='); - debugPrint('Auto Lock Time: ${autoLockSeconds}s'); if (mounted) { setState(() {}); }