Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
VirtualCard-iOS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
APP
VirtualCard-iOS
Commits
0cf20e24
Commit
0cf20e24
authored
May 28, 2020
by
IOS-张 博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改apple绑定逻辑和埋点逻辑
parent
90db7a01
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
8 deletions
+3
-8
QGBindingPhoneViewController.m
...indingPhone/ViewController/QGBindingPhoneViewController.m
+1
-1
QGRegisterViewController.m
...erOrVerifyLogin/ViewController/QGRegisterViewController.m
+1
-2
QGPasteAlertView.m
...ses/PreferentialMall/Common/CommonView/QGPasteAlertView.m
+1
-5
No files found.
VirtualPayment/VirtualPayment/QGClasses/Login/Function/QGBindingPhone/ViewController/QGBindingPhoneViewController.m
View file @
0cf20e24
...
...
@@ -163,7 +163,7 @@
[
infoDic
setObject
:
IsStringNull
(
self
.
verifyCodeString
)
forKey
:
@"smsCode"
];
[
infoDic
setObject
:
IsStringNull
(
self
.
appleInfoModel
.
userID
)
forKey
:
@"appleUserId"
];
[
infoDic
setObject
:
IsStringNull
(
self
.
appleInfoModel
.
fullName
)
forKey
:
@"appleFullName"
];
//
[infoDic setObject:IsStringNull(self.appleInfoModel.fullName) forKey:@"appleFullName"];
[
infoDic
setObject
:
IsStringNull
(
self
.
appleInfoModel
.
identityToken
)
forKey
:
@"identityToken"
];
[
QGHUDManager
showHud
:
nil
];
...
...
VirtualPayment/VirtualPayment/QGClasses/Login/Function/QGRegisterOrVerifyLogin/ViewController/QGRegisterViewController.m
View file @
0cf20e24
...
...
@@ -441,7 +441,7 @@
ASAuthorizationAppleIDCredential
*
credential
=
authorization
.
credential
;
//苹果用户唯一标识,同一开发者账号下的APP获取到是一样的
NSString
*
userID
=
credential
.
user
;
NSPersonNameComponents
*
fullName
=
credential
.
fullName
;
//
NSPersonNameComponents *fullName = credential.fullName;
//验证数据,传给后台
NSString
*
authorizationCode
=
[[
NSString
alloc
]
initWithData
:
credential
.
authorizationCode
encoding
:
NSUTF8StringEncoding
];
NSString
*
identityToken
=
[[
NSString
alloc
]
initWithData
:
credential
.
identityToken
encoding
:
NSUTF8StringEncoding
];
...
...
@@ -452,7 +452,6 @@
// NSLog(@"identityToken: %@", identityToken);
self
.
appleInfoModel
=
[[
QGAppleInfoModel
alloc
]
init
];
self
.
appleInfoModel
.
userID
=
userID
;
self
.
appleInfoModel
.
fullName
=
[
NSString
stringWithFormat
:
@"%@"
,
fullName
];
self
.
appleInfoModel
.
authorizationCode
=
authorizationCode
;
self
.
appleInfoModel
.
identityToken
=
identityToken
;
[
self
checkAppleBinding
];
...
...
VirtualPayment/VirtualPayment/QGClasses/PreferentialMall/Common/CommonView/QGPasteAlertView.m
View file @
0cf20e24
...
...
@@ -111,14 +111,10 @@
-
(
void
)
searchButtonClick
{
//神策埋点
QGAppCoreModelClickEvent
*
clickEvent
=
[
QGAppCoreModelClickEvent
acmcEventWithPage
:
@"智能搜索"
path
:
@"智能搜索"
name
:
@"搜索"
detail_name
:
nil
acmc_model_other
:
self
.
pasteStr
];
[
QGAnalyticsService
analyticsTrackWithEvent
:
clickEvent
];
QGAppCoreModelClickEvent
*
searchResultEvent
=
[
QGAppCoreModelClickEvent
acmcEventWithPage
:
@"搜索页"
path
:
@"搜索栏"
name
:
@"搜索栏"
detail_name
:
nil
acmc_model_other
:
self
.
pasteStr
];
[
QGAnalyticsService
analyticsTrackWithEvent
:
searchResultEvent
];
if
(
self
.
searchBlock
)
{
self
.
searchBlock
();
}
...
...
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