修改记录不能上传问题

This commit is contained in:
魏少阳 2024-07-29 19:52:38 +08:00
parent b023ff6fd6
commit 577a056e53
4 changed files with 13 additions and 10 deletions

View File

@ -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<int>? token;
int? needAuthor;
List<int>? publicKey;
List<int>? 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<int>? token;
int? needAuthor;
List<int>? publicKey;
List<int>? privateKey;
@override
String toString() {

View File

@ -896,6 +896,7 @@ class IoSenderManage {
userID: userID,
logsCount: logsCount,
time: time,
currentDate: currentDate,
token: token,
needAuthor: needAuthor,
publicKey: publicKey,

View File

@ -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();
}
}

View File

@ -80,8 +80,9 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# 1.0.70+2024072401xhj 线上环境,提交测试:回归 bug
# 1.0.70+2024072402xhj 线上环境,提交测试:回归 bug
# 1.0.71+2024072901xhj 线上环境,提交测试:回归 bug
# 1.0.71+2024072902xhj 线上环境,提交测试:回归 bug
version: 1.0.71+2024072901
version: 1.0.71+2024072902
environment:
sdk: '>=2.12.0 <3.0.0'