diff --git a/common.js b/common.js index 68eb111..da27ef7 100644 --- a/common.js +++ b/common.js @@ -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) { // 增加返回一个卡序号