getUnionId 用户标识 unionid 主要用于微信、QQ 用户系统打通
getUnionId ^7.8
用户标识 unionid 主要用于微信、QQ 用户系统打通
#请求参数
| Prop | Type | Default | Comment |
|---|---|---|---|
| type | String | N/A | wx|qq |
#引入接口模块
import bridge from '@minix-iot/etsbridge-sdk'
#接口调用示例
const params = {
type: 'wx|qq',
}
bridge
.getUnionId(params)
.then((res) => {
console.log(res)
})
.catch((err) => {
console.log(err)
})
#接口返回示例
N / A
浙公网安备 33010602011771号