# exitMiniApp^6.8

获取设备唯一标识

# 接口调用示例

this.$bridge
  .getDeviceUUID()
  .then(res => {
    this.$alert(res)
  })
  .catch(err => {
    this.$toast(err)
  })

1
2
3
4
5
6
7
8
9

# 返回参数

Prop Type Required Default Comment
deviceUUID String N N/A 手机设备标识串

# 接口返回示例

// 安卓返回
'05c95xxxxxxxxxxxxxxxx'

// ios 返回
{
  deviceUUID: '1BF1xxxxxxxxx'
}
1
2
3
4
5
6
7
更新时间: 11/9/2022, 4:32:58 PM