getLoginInfo 获取身份信息、token等

getLoginInfo ^7.8

获取身份信息、token 等

#请求参数

N/A

#接口调用示例

this.$bridge
  .getLoginInfo()
  .then((res) => {
    this.$alert(res);
  })
  .catch((err) => {
    this.$toast(err);
  });

#返回参数

Prop Type Comment
isLogin Number 登录状态: 0-未登录,1-已登录
token String 认证 token(如果已经登录)

#接口返回示例

{
  isLogin: 0,
  token: "dflskjdf23849723skdjflj"
}
posted on 2024-12-16 09:41  AtlasLapetos  阅读(17)  评论(0)    收藏  举报