fix: 调整添加完成指纹、卡片、人脸后将序号上报给服务器

This commit is contained in:
liyi 2025-09-19 11:29:22 +08:00
parent f1285cb2e6
commit f4062cf306

View File

@ -1020,7 +1020,7 @@ export async function parsingCharacteristicValue(binaryData) {
cardRight: this.requestParams.isAdmin,
lockId: this.lockInfo.lockId,
cardNumber: decrypted[6] * 256 + decrypted[7],
cardUserNo: this.requestParams.cardUserNo
cardUserNo: decrypted[6] * 256 + decrypted[7]
})
if (addResult.code === Result.Success.code) {
// 增加返回一个卡序号
@ -1106,7 +1106,7 @@ export async function parsingCharacteristicValue(binaryData) {
fingerRight: this.requestParams.isAdmin,
lockId: this.lockInfo.lockId,
fingerprintNumber: decrypted[6] * 256 + decrypted[7],
fingerprintUserNo: this.requestParams.fingerprintUserNo
fingerprintUserNo: decrypted[6] * 256 + decrypted[7]
})
if (addResult.code === Result.Success.code) {
// 增加返回一个指纹序号
@ -1191,7 +1191,7 @@ export async function parsingCharacteristicValue(binaryData) {
fingerRight: this.requestParams.isAdmin,
lockId: this.lockInfo.lockId,
faceNumber: decrypted[6] * 256 + decrypted[7],
faceUserNo: this.requestParams.faceUserNo
faceUserNo: decrypted[6] * 256 + decrypted[7]
})
if (addResult.code === Result.Success.code) {
// 增加返回一个序号
@ -1268,7 +1268,7 @@ export async function parsingCharacteristicValue(binaryData) {
palmVeinRight: this.requestParams.isAdmin,
lockId: this.lockInfo.lockId,
palmVeinNumber: decrypted[6] * 256 + decrypted[7],
palmVeinUserNo: this.requestParams.palmVeinUserNo
palmVeinUserNo: decrypted[6] * 256 + decrypted[7]
})
if (addResult.code === Result.Success.code) {
// 增加返回一个卡序号
@ -1343,7 +1343,7 @@ export async function parsingCharacteristicValue(binaryData) {
remoteRight: this.requestParams.isAdmin,
lockId: this.lockInfo.lockId,
remoteNumber: decrypted[6] * 256 + decrypted[7],
remoteUserNo: this.requestParams.remoteUserNo
remoteUserNo: decrypted[6] * 256 + decrypted[7]
})
if (addResult.code === Result.Success.code) {
// 增加返回一个卡序号