# getLoginInfo

获取登录态信息

# 请求参数

  • N/A

# 接口调用示例


this.$bridge
    .getLoginInfo()
    .then(res => {    
    this.$alert(res)
    })
    .catch(err => {
    this.$toast(err)
    })
1
2
3
4
5
6
7
8
9

# 返回参数

Prop Type Default Description
isLogin Number N/A 自定义状态码
token String N/A 认证token(如果已经登录
uid String N/A uid

# 返回示例


{
    "isLogin": "0",
    "token": "123582d5-657a-47e5-ae52-9e76aba6c01d"
    "uid": "12f4ess8eew73y3hygssss77e78w8wjgjjt7"
}

1
2
3
4
5
6
7
Last Updated: 10/27/2020, 4:07:31 PM