Skip to content
This repository has been archived by the owner on Jun 12, 2023. It is now read-only.

每次运行app都要调登录接口吗? #44

Closed
YDJSZY opened this issue Jun 29, 2020 · 1 comment
Closed

每次运行app都要调登录接口吗? #44

YDJSZY opened this issue Jun 29, 2020 · 1 comment

Comments

@YDJSZY
Copy link

YDJSZY commented Jun 29, 2020

设置了userSig过期时间是一周,但每次重新运行app,调会话接口时都获取不到userProfile,请问这是离线了吗?

@JiangJuHong
Copy link
Owner

你好,可通过 getLoginUser 来验证用户是否离线,如果返回结果是 null,则代表用户未登录

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants