fix:调整远程开锁参数
This commit is contained in:
parent
2911b32664
commit
891ba072d0
@ -383,11 +383,11 @@ Page({
|
|||||||
},
|
},
|
||||||
|
|
||||||
async remoteUnLockRequest() {
|
async remoteUnLockRequest() {
|
||||||
await selectLock({
|
|
||||||
|
console.log('remoteUnLockRequest', await remoteUnLock({
|
||||||
accountInfo: this.data.accountInfo,
|
accountInfo: this.data.accountInfo,
|
||||||
lockId: this.data.lock.lockId
|
lockId: this.data.lock.lockId
|
||||||
})
|
}));
|
||||||
console.log('remoteUnLockRequest', await remoteUnLock());
|
|
||||||
},
|
},
|
||||||
async enableAntiPryAlarm(e) {
|
async enableAntiPryAlarm(e) {
|
||||||
const operate = e.currentTarget.dataset.operate;
|
const operate = e.currentTarget.dataset.operate;
|
||||||
|
|||||||
8
package-lock.json
generated
8
package-lock.json
generated
@ -24,7 +24,7 @@
|
|||||||
"@dcloudio/uni-mp-xhs": "3.0.0-4030620241128001",
|
"@dcloudio/uni-mp-xhs": "3.0.0-4030620241128001",
|
||||||
"@dcloudio/uni-quickapp-webview": "3.0.0-4030620241128001",
|
"@dcloudio/uni-quickapp-webview": "3.0.0-4030620241128001",
|
||||||
"pinia": "^2.2.8",
|
"pinia": "^2.2.8",
|
||||||
"star-cloud-uni": "^1.0.12",
|
"star-cloud-uni": "^1.0.13",
|
||||||
"vue": "^3.5.13",
|
"vue": "^3.5.13",
|
||||||
"vue-i18n": "^9.1.9"
|
"vue-i18n": "^9.1.9"
|
||||||
},
|
},
|
||||||
@ -10046,9 +10046,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/star-cloud-uni": {
|
"node_modules/star-cloud-uni": {
|
||||||
"version": "1.0.12",
|
"version": "1.0.13",
|
||||||
"resolved": "https://registry.npmjs.org/star-cloud-uni/-/star-cloud-uni-1.0.12.tgz",
|
"resolved": "https://registry.npmjs.org/star-cloud-uni/-/star-cloud-uni-1.0.13.tgz",
|
||||||
"integrity": "sha512-QhBsp8kF0aOaveFohaDTVibX6v9zJAczMvC5G1faPH++B48LmgPTmsqihlD0TwEip8nTWuNQDT89xZ84nbWg5g==",
|
"integrity": "sha512-F1LLDwcEAqMkbUDwnbyvqYAbMMhiAJG3rQbduxkOdzdHT3lpxPOxqep6XVi4AfbRbRwbuWXChle81iBLZiK6vw==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"buffer": "^6.0.3",
|
"buffer": "^6.0.3",
|
||||||
"crc": "^4.3.2",
|
"crc": "^4.3.2",
|
||||||
|
|||||||
@ -52,7 +52,7 @@
|
|||||||
"@dcloudio/uni-mp-xhs": "3.0.0-4030620241128001",
|
"@dcloudio/uni-mp-xhs": "3.0.0-4030620241128001",
|
||||||
"@dcloudio/uni-quickapp-webview": "3.0.0-4030620241128001",
|
"@dcloudio/uni-quickapp-webview": "3.0.0-4030620241128001",
|
||||||
"pinia": "^2.2.8",
|
"pinia": "^2.2.8",
|
||||||
"star-cloud-uni": "^1.0.12",
|
"star-cloud-uni": "^1.0.13",
|
||||||
"vue": "^3.5.13",
|
"vue": "^3.5.13",
|
||||||
"vue-i18n": "^9.1.9"
|
"vue-i18n": "^9.1.9"
|
||||||
},
|
},
|
||||||
|
|||||||
24
src/index.js
24
src/index.js
@ -198,17 +198,22 @@ module.exports = {
|
|||||||
async getRemoteList(params) {
|
async getRemoteList(params) {
|
||||||
return await getRemoteList(params)
|
return await getRemoteList(params)
|
||||||
},
|
},
|
||||||
|
/**
|
||||||
|
* 更新锁支持项目
|
||||||
|
* @param params
|
||||||
|
* @returns {Promise<*>}
|
||||||
|
*/
|
||||||
async updateSupportFunctionsWithParams(params) {
|
async updateSupportFunctionsWithParams(params) {
|
||||||
return await updateSupportFunctionsWithParams(params)
|
return await updateSupportFunctionsWithParams(params)
|
||||||
},
|
},
|
||||||
|
/**
|
||||||
|
* 读取锁设置
|
||||||
|
* @param params
|
||||||
|
* @returns {Promise<*>}
|
||||||
|
*/
|
||||||
async readSupportFunctions(params) {
|
async readSupportFunctions(params) {
|
||||||
return await readSupportFunctionsSetting(params)
|
return await readSupportFunctionsSetting(params)
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 事件触发
|
* 事件触发
|
||||||
* @param eventName 事件昵称
|
* @param eventName 事件昵称
|
||||||
@ -306,7 +311,12 @@ module.exports = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
async remoteUnLock(){
|
/**
|
||||||
return await remoteUnLock()
|
* 远程开锁
|
||||||
|
* @param params
|
||||||
|
* @returns {Promise<*>}
|
||||||
|
*/
|
||||||
|
async remoteUnLock(params){
|
||||||
|
return await remoteUnLock(params)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user