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
7b0653a0
Commit
7b0653a0
authored
Apr 16, 2024
by
David黄金龙
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加 登录成功后的回调
parent
921ffcf6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletion
+5
-1
YHMyDocumentsDetailViewController.swift
...Documents(我的文书)/C/YHMyDocumentsDetailViewController.swift
+0
-1
YHCodeSueecssViewController.swift
...ses/Modules/Login(登录)/C/YHCodeSueecssViewController.swift
+1
-0
YHLoginManager.swift
...axy/Classes/Modules/Login(登录)/Server/YHLoginManager.swift
+4
-0
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyDocuments(我的文书)/C/YHMyDocumentsDetailViewController.swift
View file @
7b0653a0
...
...
@@ -806,4 +806,3 @@ extension YHMyDocumentsDetailViewController {
}
}
}
galaxy/galaxy/Classes/Modules/Login(登录)/C/YHCodeSueecssViewController.swift
View file @
7b0653a0
...
...
@@ -175,6 +175,7 @@ class YHCodeSueecssViewController: YHBaseViewController {
if
success
==
false
{
YHHUD
.
flash
(
message
:
error
?
.
errorMsg
??
""
)
}
else
{
YHLoginManager
.
shared
.
loginSuccessActionBlock
?()
YHHUD
.
flash
(
message
:
"登录成功"
)
self
.
dismiss
(
animated
:
true
)
}
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/Server/YHLoginManager.swift
View file @
7b0653a0
...
...
@@ -14,6 +14,10 @@ class YHLoginManager: NSObject {
var
userModel
:
YHUserModel
?
var
deviceTokenModel
:
YHDeviceTokenModel
=
YHDeviceTokenModel
()
//检查到未登录的情况下 调用登录界面,在登录成功后,是否需要继续之前的行为
typealias
Block
=
()
->
()
var
loginSuccessActionBlock
:
Block
?
private
override
init
()
{}
func
isLogin
()
->
Bool
{
...
...
pete谢兆麟
@pete
mentioned in commit
bd2b1522
·
Apr 16, 2024
mentioned in commit
bd2b1522
mentioned in commit bd2b1522773c7333fd78c5991074cda1f2671fba
Toggle commit list
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