修改记录不能上传问题

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; import 'package:crypto/crypto.dart' as crypto;
class SenderReferEventRecordTimeCommand extends SenderProtocol { 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({ SenderReferEventRecordTimeCommand({
this.keyID, this.keyID,
@ -32,6 +23,15 @@ class SenderReferEventRecordTimeCommand extends SenderProtocol {
this.publicKey, this.publicKey,
this.privateKey, this.privateKey,
}) : super(CommandType.generalExtendedCommond); }) : 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 @override
String toString() { String toString() {

View File

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

View File

@ -195,6 +195,7 @@ class DoorLockLogLogic extends BaseGetXController {
if (entity.errorCode!.codeIsSuccessful) { if (entity.errorCode!.codeIsSuccessful) {
state.operateDate = entity.data!.operateDate! ~/ 1000; state.operateDate = entity.data!.operateDate! ~/ 1000;
state.currentDate = entity.data!.currentDate! ~/ 1000; state.currentDate = entity.data!.currentDate! ~/ 1000;
AppLog.log('entity.data!.currentDate!:${entity.data!.currentDate!} currentDate:${state.currentDate}');
senderReferEventRecordTime(); 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+2024072401xhj 线上环境,提交测试:回归 bug
# 1.0.70+2024072402xhj 线上环境,提交测试:回归 bug # 1.0.70+2024072402xhj 线上环境,提交测试:回归 bug
# 1.0.71+2024072901xhj 线上环境,提交测试:回归 bug # 1.0.71+2024072901xhj 线上环境,提交测试:回归 bug
# 1.0.71+2024072902xhj 线上环境,提交测试:回归 bug
version: 1.0.71+2024072901 version: 1.0.71+2024072902
environment: environment:
sdk: '>=2.12.0 <3.0.0' sdk: '>=2.12.0 <3.0.0'