From f4062cf306fd1b5017df549311045fd6344c20ab Mon Sep 17 00:00:00 2001 From: liyi Date: Fri, 19 Sep 2025 11:29:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=AE=8C=E6=88=90=E6=8C=87=E7=BA=B9=E3=80=81=E5=8D=A1=E7=89=87?= =?UTF-8?q?=E3=80=81=E4=BA=BA=E8=84=B8=E5=90=8E=E5=B0=86=E5=BA=8F=E5=8F=B7?= =?UTF-8?q?=E4=B8=8A=E6=8A=A5=E7=BB=99=E6=9C=8D=E5=8A=A1=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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) { // 增加返回一个卡序号