Account

登录

请登录以访问您的客户门户。

登录
document.addEventListener( "DOMContentLoaded", function(){ const btn=document.getElementById( "pi-login-btn" ); if(btn){ btn.onclick=function(){ const scopes=[ "username" ]; Pi.authenticate( scopes, function(payment){ console.log(payment); } ) .then(function(auth){ console.log(auth); alert( "Welcome " + auth.user.username ); }) .catch(function(error){ console.log(error); }); } } });