Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
galaxy-iOS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mobile-group
galaxy-iOS
Commits
bf9585e1
Commit
bf9585e1
authored
Sep 14, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除 注册用户 第一次登录时的逻辑
parent
d68fea25
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
12 deletions
+13
-12
YHCodeSueecssViewController.swift
...ses/Modules/Login(登录)/C/YHCodeSueecssViewController.swift
+13
-12
No files found.
galaxy/galaxy/Classes/Modules/Login(登录)/C/YHCodeSueecssViewController.swift
View file @
bf9585e1
...
...
@@ -97,10 +97,6 @@ class YHCodeSueecssViewController: YHBaseViewController {
if
let
phone
=
self
.
phoneNumber
{
// 登录接口需要加一个deviceToken参数
YHHUD
.
show
(
.
progress
(
message
:
"登录中..."
))
if
phone
.
contains
(
"15818743775"
)
{
...
...
@@ -180,14 +176,19 @@ class YHCodeSueecssViewController: YHBaseViewController {
}
else
{
YHLoginManager
.
shared
.
loginSuccessActionBlock
?()
YHHUD
.
flash
(
message
:
"登录成功"
)
if
YHLoginManager
.
shared
.
userModel
?
.
is_first_login
==
1
{
let
vc
=
YHUserInfoSettingViewController
()
vc
.
modalPresentationStyle
=
.
fullScreen
self
.
navigationController
?
.
pushViewController
(
vc
)
}
else
{
TXCommonHandler
.
sharedInstance
()
.
cancelLoginVC
(
animated
:
true
)
self
.
dismiss
(
animated
:
true
)
}
//20240927版本 登录时 不需要 特殊处理注册用户
// if YHLoginManager.shared.userModel?.is_first_login == 1 {
// let vc = YHUserInfoSettingViewController()
// vc.modalPresentationStyle = .fullScreen
// self.navigationController?.pushViewController(vc)
// } else {
// TXCommonHandler.sharedInstance().cancelLoginVC(animated: true)
// self.dismiss(animated: true)
// }
TXCommonHandler
.
sharedInstance
()
.
cancelLoginVC
(
animated
:
true
)
self
.
dismiss
(
animated
:
true
)
}
})
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment