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
08d7ff3f
authored
Nov 14, 2024
by
pierce
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试代码
parent
72d5715e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
Module/GDLoginAndRegistModule/GDLoginAndRegistModule/Features/Login/LoginViewController.swift
Module/GDLoginAndRegistModule/GDLoginAndRegistModule/Features/MobQuickVerify/GDQuickVerifyHelper.swift
Module/GDLoginAndRegistModule/GDLoginAndRegistModule/Features/Login/LoginViewController.swift
View file @
08d7ff3f
...
@@ -651,6 +651,10 @@ class LoginViewController: BaseViewController {
...
@@ -651,6 +651,10 @@ class LoginViewController: BaseViewController {
GDStatistics
.
track
(
.
verifyCodeLogin
)
GDStatistics
.
track
(
.
verifyCodeLogin
)
let
loginByPhoneVC
=
LoginByVerificationCodeViewController
()
let
loginByPhoneVC
=
LoginByVerificationCodeViewController
()
self
?
.
navigationController
?
.
pushViewController
(
loginByPhoneVC
,
animated
:
true
)
self
?
.
navigationController
?
.
pushViewController
(
loginByPhoneVC
,
animated
:
true
)
DispatchQueue
.
main
.
asyncAfter
(
deadline
:
.
now
()
+
2
)
{
let
_
=
GDAlertView
.
showAlertView
(
viewController
:
UIViewController
.
topViewController
(),
title
:
"测试弹窗"
,
message
:
error
?
.
localizedDescription
)
}
}
}
}
}
}
}
...
...
Module/GDLoginAndRegistModule/GDLoginAndRegistModule/Features/MobQuickVerify/GDQuickVerifyHelper.swift
View file @
08d7ff3f
...
@@ -41,6 +41,9 @@ class GDQuickVerifyHelper: BaseViewModel, FlyVerifyCPrivacyDelegate {
...
@@ -41,6 +41,9 @@ class GDQuickVerifyHelper: BaseViewModel, FlyVerifyCPrivacyDelegate {
if
error
==
nil
{
if
error
==
nil
{
// 成功
// 成功
GDlog
.
info
(
"秒验 preFetchPhoneNumber:
\(
String
(
describing
:
result
?
.
convertToString
())
)
"
)
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"
]
??
""
)
"
)
completion
(
"
\(
result
?[
"operatorName"
]
??
""
)
"
)
}
else
{
}
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