getAuthorizeUserContro 用户授权控制的接口
getAuthorizeUserControl ^7.8
用户授权控制的接口
#请求参数
| Prop | Type | Default | Comment |
|---|---|---|---|
| thirtyCode | String | N/A | (第三方的code,中台分配的)或者(thirtyCode优先) |
| deviceId | String | N/A | (设备ID) |
| iotAppId | String | N/A | (中台分配的appId) |
| userOption | String | N/A |
#接口调用示例
const params = {
"thirtyCode": "(第三方的code,中台分配的)或者(thirtyCode优先)",
"deviceId": " (设备ID)",
"iotAppId": "(中台分配的appId)",
"userOption": ""
}
this.$bridge
.getAuthorizeUserControl(params)
.then(res => {
this.$alert(res)
})
.catch(err => {
this.$toast(err)
})
#接口返回示例
N/A
浙公网安备 33010602011771号