fix: 调整添加完成指纹、卡片、人脸后将序号上报给服务器
This commit is contained in:
parent
f1285cb2e6
commit
f4062cf306
10
common.js
10
common.js
@ -1020,7 +1020,7 @@ export async function parsingCharacteristicValue(binaryData) {
|
|||||||
cardRight: this.requestParams.isAdmin,
|
cardRight: this.requestParams.isAdmin,
|
||||||
lockId: this.lockInfo.lockId,
|
lockId: this.lockInfo.lockId,
|
||||||
cardNumber: decrypted[6] * 256 + decrypted[7],
|
cardNumber: decrypted[6] * 256 + decrypted[7],
|
||||||
cardUserNo: this.requestParams.cardUserNo
|
cardUserNo: decrypted[6] * 256 + decrypted[7]
|
||||||
})
|
})
|
||||||
if (addResult.code === Result.Success.code) {
|
if (addResult.code === Result.Success.code) {
|
||||||
// 增加返回一个卡序号
|
// 增加返回一个卡序号
|
||||||
@ -1106,7 +1106,7 @@ export async function parsingCharacteristicValue(binaryData) {
|
|||||||
fingerRight: this.requestParams.isAdmin,
|
fingerRight: this.requestParams.isAdmin,
|
||||||
lockId: this.lockInfo.lockId,
|
lockId: this.lockInfo.lockId,
|
||||||
fingerprintNumber: decrypted[6] * 256 + decrypted[7],
|
fingerprintNumber: decrypted[6] * 256 + decrypted[7],
|
||||||
fingerprintUserNo: this.requestParams.fingerprintUserNo
|
fingerprintUserNo: decrypted[6] * 256 + decrypted[7]
|
||||||
})
|
})
|
||||||
if (addResult.code === Result.Success.code) {
|
if (addResult.code === Result.Success.code) {
|
||||||
// 增加返回一个指纹序号
|
// 增加返回一个指纹序号
|
||||||
@ -1191,7 +1191,7 @@ export async function parsingCharacteristicValue(binaryData) {
|
|||||||
fingerRight: this.requestParams.isAdmin,
|
fingerRight: this.requestParams.isAdmin,
|
||||||
lockId: this.lockInfo.lockId,
|
lockId: this.lockInfo.lockId,
|
||||||
faceNumber: decrypted[6] * 256 + decrypted[7],
|
faceNumber: decrypted[6] * 256 + decrypted[7],
|
||||||
faceUserNo: this.requestParams.faceUserNo
|
faceUserNo: decrypted[6] * 256 + decrypted[7]
|
||||||
})
|
})
|
||||||
if (addResult.code === Result.Success.code) {
|
if (addResult.code === Result.Success.code) {
|
||||||
// 增加返回一个序号
|
// 增加返回一个序号
|
||||||
@ -1268,7 +1268,7 @@ export async function parsingCharacteristicValue(binaryData) {
|
|||||||
palmVeinRight: this.requestParams.isAdmin,
|
palmVeinRight: this.requestParams.isAdmin,
|
||||||
lockId: this.lockInfo.lockId,
|
lockId: this.lockInfo.lockId,
|
||||||
palmVeinNumber: decrypted[6] * 256 + decrypted[7],
|
palmVeinNumber: decrypted[6] * 256 + decrypted[7],
|
||||||
palmVeinUserNo: this.requestParams.palmVeinUserNo
|
palmVeinUserNo: decrypted[6] * 256 + decrypted[7]
|
||||||
})
|
})
|
||||||
if (addResult.code === Result.Success.code) {
|
if (addResult.code === Result.Success.code) {
|
||||||
// 增加返回一个卡序号
|
// 增加返回一个卡序号
|
||||||
@ -1343,7 +1343,7 @@ export async function parsingCharacteristicValue(binaryData) {
|
|||||||
remoteRight: this.requestParams.isAdmin,
|
remoteRight: this.requestParams.isAdmin,
|
||||||
lockId: this.lockInfo.lockId,
|
lockId: this.lockInfo.lockId,
|
||||||
remoteNumber: decrypted[6] * 256 + decrypted[7],
|
remoteNumber: decrypted[6] * 256 + decrypted[7],
|
||||||
remoteUserNo: this.requestParams.remoteUserNo
|
remoteUserNo: decrypted[6] * 256 + decrypted[7]
|
||||||
})
|
})
|
||||||
if (addResult.code === Result.Success.code) {
|
if (addResult.code === Result.Success.code) {
|
||||||
// 增加返回一个卡序号
|
// 增加返回一个卡序号
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user