🎉PG开放接口文档发布啦~如果还有更多建议欢迎加入QQ群反馈🎉
{
"type": "bcm"
}
curl --location --request POST 'https://api.pgaot.com/login/set_cookie' \
--header 'X-Pgaot-Key: yR5zVNyFw+r9YfZMVe/gB+DfXnnGnphD==' \
--header 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{
"type": "bcm"
}'
{
"code": 200,
"msg": "账户授权成功",
"uid": "10001",
"coretoken": "xxxxxxxxxxx",
"token": "xxxxxxxxxxx",
"cookie": "xxxxxxxxxxx",
"type": "pg",
"accountid": "2991883280@qq.com",
"time": 1701251969,
"data": {
"code": 200,
"msg": "登录成功",
"data": {
"userId": "10001",
"nickname": "冷鱼与热猫",
"avatar": "http://q1.qlogo.cn/g?b=qq&nk=2991883280&s=640",
"email": "2991883280@qq.com",
"pgaot": true
}
}
}