exitMiniApp^6.8
获取设备唯一标识
#接口调用示例
this.$bridge
.getDeviceUUID()
.then(res => {
this.$alert(res)
})
.catch(err => {
this.$toast(err)
})
#返回参数
| Prop |
Type |
Required |
Default |
Comment |
deviceUUID |
String |
N |
N/A |
手机设备标识串 |
#接口返回示例
// 安卓返回
'05c95xxxxxxxxxxxxxxxx'
// ios 返回
{
deviceUUID: '1BF1xxxxxxxxx'
}