uni-app APP-PLUS 获取客户端信息 clientid 等

// /App.vue
onLaunch: function() {
// #ifdef APP-PLUS
const clientInfo = plus.push.getClientInfo()
console.log(clientInfo)
// #endif
}


返回信息:

{
"id": "unipush"
, "token": "54930dd7764bea63d367634169729xxx"
, "clientid": "54930dd7764bea63d367634169729xxx"
, "appid": "zQE9oBlmnF7SzV9bQPHxxx"
, "appkey": "ftjJNVX7Cu9iI8NEaMexxx"
}

————————————————
版权声明:本文为CSDN博主「sr_www」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/sr_www/article/details/104329496

相关推荐