Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

对于需要登陆的request,在登陆前检查是否已有session。 #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Hailong
Copy link

@Hailong Hailong commented Jan 31, 2018

这样对于同时有很多需要登陆的和不需要登陆的request的情况,不用担心会出现重复登陆的情况。

@tomwang1013
Copy link

这个不是很妥吧,如果用户从来没有登录过(Session.get == null),应该使用qcloud.login来进行首次登录,而不是qcloud.loginWithCode

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

Successfully merging this pull request may close these issues.

2 participants