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
相关推荐
liuxudong00 2020-11-19
wwzaqw 2020-11-11
lihaoxiang 2020-11-05
CrossingX 2020-11-04
xuegangic 2020-10-17
86417413 2020-11-25
83206733 2020-11-19
86276537 2020-11-19
83266337 2020-11-19
86256434 2020-11-17
zhouboxiao 2020-11-16
rise 2020-11-22
sssdssxss 2020-11-20
windle 2020-11-10
孙雪峰 2020-10-30
85477104 2020-11-17
xfcyhades 2020-11-20
cheidou 2020-11-19