Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
iOSTeam
/
Majiabao
/
TealiveModule
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
40fe6817
authored
Nov 14, 2024
by
pierce
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交调试信息
parent
08d7ff3f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
9 deletions
Module/GDLoginAndRegistModule/GDLoginAndRegistModule/Features/Login/LoginViewController.swift
Module/GDLoginAndRegistModule/GDLoginAndRegistModule/Features/MobQuickVerify/GDQuickVerifyHelper.swift
Module/GDLoginAndRegistModule/GDLoginAndRegistModule/Features/Login/LoginViewController.swift
View file @
40fe6817
...
...
@@ -651,10 +651,6 @@ class LoginViewController: BaseViewController {
GDStatistics
.
track
(
.
verifyCodeLogin
)
let
loginByPhoneVC
=
LoginByVerificationCodeViewController
()
self
?
.
navigationController
?
.
pushViewController
(
loginByPhoneVC
,
animated
:
true
)
DispatchQueue
.
main
.
asyncAfter
(
deadline
:
.
now
()
+
2
)
{
let
_
=
GDAlertView
.
showAlertView
(
viewController
:
UIViewController
.
topViewController
(),
title
:
"测试弹窗"
,
message
:
error
?
.
localizedDescription
)
}
}
}
}
...
...
@@ -869,6 +865,10 @@ extension LoginViewController {
self
.
navigationController
?
.
pushViewController
(
registerVC
,
animated
:
true
)
default
:
FTIndicator
.
showToastMessage
(
error
.
msg
)
DispatchQueue
.
main
.
asyncAfter
(
deadline
:
.
now
()
+
2
)
{
let
_
=
GDAlertView
.
showAlertView
(
viewController
:
UIViewController
.
topViewController
(),
title
:
"测试弹窗"
,
message
:
error
.
localizedDescription
)
}
}
})
.
disposed
(
by
:
self
.
disposeBag
)
...
...
Module/GDLoginAndRegistModule/GDLoginAndRegistModule/Features/MobQuickVerify/GDQuickVerifyHelper.swift
View file @
40fe6817
...
...
@@ -28,7 +28,6 @@ class GDQuickVerifyHelper: BaseViewModel, FlyVerifyCPrivacyDelegate {
FlyVerifyC
.
agreePrivacy
(
true
)
{
[
weak
self
]
success
in
if
success
{
print
(
""
)
self
?
.
preFetchPhoneNumber
(
completion
:
{
_
in
})
}
else
{
print
(
""
)
}
...
...
@@ -40,10 +39,6 @@ class GDQuickVerifyHelper: BaseViewModel, FlyVerifyCPrivacyDelegate {
if
error
==
nil
{
// 成功
GDlog
.
info
(
"秒验 preFetchPhoneNumber:
\(
String
(
describing
:
result
?
.
convertToString
())
)
"
)
DispatchQueue
.
main
.
asyncAfter
(
deadline
:
.
now
()
+
2
)
{
let
_
=
GDAlertView
.
showAlertView
(
viewController
:
UIViewController
.
topViewController
(),
title
:
"测试弹窗"
,
message
:
"
\(
String
(
describing
:
result
?
.
convertToString
())
)
"
)
}
completion
(
"
\(
result
?[
"operatorName"
]
??
""
)
"
)
}
else
{
// 失败
...
...
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