diff --git a/lib/blue/io_protocol/io_referEventRecordTime.dart b/lib/blue/io_protocol/io_referEventRecordTime.dart index 0c5f6bf3..304b433d 100755 --- a/lib/blue/io_protocol/io_referEventRecordTime.dart +++ b/lib/blue/io_protocol/io_referEventRecordTime.dart @@ -11,15 +11,6 @@ import '../sm4Encipher/sm4.dart'; import 'package:crypto/crypto.dart' as crypto; class SenderReferEventRecordTimeCommand extends SenderProtocol { - String? keyID; - String? userID; - int? logsCount; - int? time; - int? currentDate; - List? token; - int? needAuthor; - List? publicKey; - List? privateKey; SenderReferEventRecordTimeCommand({ this.keyID, @@ -32,6 +23,15 @@ class SenderReferEventRecordTimeCommand extends SenderProtocol { this.publicKey, this.privateKey, }) : super(CommandType.generalExtendedCommond); + String? keyID; + String? userID; + int? logsCount; + int? time; + int? currentDate; + List? token; + int? needAuthor; + List? publicKey; + List? privateKey; @override String toString() { diff --git a/lib/blue/sender_manage.dart b/lib/blue/sender_manage.dart index 274c313b..c5b39779 100755 --- a/lib/blue/sender_manage.dart +++ b/lib/blue/sender_manage.dart @@ -896,6 +896,7 @@ class IoSenderManage { userID: userID, logsCount: logsCount, time: time, + currentDate: currentDate, token: token, needAuthor: needAuthor, publicKey: publicKey, diff --git a/lib/main/lockDetail/doorLockLog/doorLockLog_logic.dart b/lib/main/lockDetail/doorLockLog/doorLockLog_logic.dart index f27a2023..ed3e6cdd 100755 --- a/lib/main/lockDetail/doorLockLog/doorLockLog_logic.dart +++ b/lib/main/lockDetail/doorLockLog/doorLockLog_logic.dart @@ -195,6 +195,7 @@ class DoorLockLogLogic extends BaseGetXController { if (entity.errorCode!.codeIsSuccessful) { state.operateDate = entity.data!.operateDate! ~/ 1000; state.currentDate = entity.data!.currentDate! ~/ 1000; + AppLog.log('entity.data!.currentDate!:${entity.data!.currentDate!} currentDate:${state.currentDate}'); senderReferEventRecordTime(); } } diff --git a/pubspec.yaml b/pubspec.yaml index d0728dd6..d2455ea8 100755 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -80,8 +80,9 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # 1.0.70+2024072401:xhj 线上环境,提交测试:回归 bug # 1.0.70+2024072402:xhj 线上环境,提交测试:回归 bug # 1.0.71+2024072901:xhj 线上环境,提交测试:回归 bug +# 1.0.71+2024072902:xhj 线上环境,提交测试:回归 bug -version: 1.0.71+2024072901 +version: 1.0.71+2024072902 environment: sdk: '>=2.12.0 <3.0.0'