Commit 69c1e713 by YKai

fix:一键登录逻辑优化

parent e0b2a0ef
...@@ -386,9 +386,9 @@ object OneKeyLoginHelp { ...@@ -386,9 +386,9 @@ object OneKeyLoginHelp {
when (tokenRet.code) { when (tokenRet.code) {
ResultCode.CODE_START_AUTHPAGE_SUCCESS -> { // 唤起一键登录页面成功 ResultCode.CODE_START_AUTHPAGE_SUCCESS -> { // 唤起一键登录页面成功
LogUtil.e("唤起授权页成功:$s") LogUtil.e("唤起授权页成功:$s")
mOpenPageIsSuccess = true
if (mIsFromGuide){ if (mIsFromGuide){
mActivity.finish() mActivity.finish()
mOpenPageIsSuccess = true
} }
} }
ResultCode.CODE_SUCCESS -> { // 获取token成功 JPushUtils.getRegistrationID() ResultCode.CODE_SUCCESS -> { // 获取token成功 JPushUtils.getRegistrationID()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment