getAuthorizeUserControl 用户授权控制的接口.
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 |
#引入接口模块
import bridge from '@minix-iot/etsbridge-sdk'
#接口调用示例
const params = {
thirtyCode: '(第三方的code,中台分配的)或者(thirtyCode优先)',
deviceId: ' (设备ID)',
iotAppId: '(中台分配的appId)',
userOption: '',
}
bridge
.getAuthorizeUserControl(params)
.then((res) => {
console.log(res)
})
.catch((err) => {
console.log(err)
})
#接口返回示例
N / A
浙公网安备 33010602011771号