Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
GMPhobos
Project
Project
Details
Activity
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
GMPhobos
Commits
85fb9ab6
Commit
85fb9ab6
authored
Nov 23, 2016
by
wangjun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Phobs给PV事件方法修改参数
parent
0f46e5bc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Phobos.m
Pod/Classes/Phobos.m
+2
-1
No files found.
Pod/Classes/Phobos.m
View file @
85fb9ab6
...
@@ -277,7 +277,7 @@ static NSString *sdkVersion = @"110";
...
@@ -277,7 +277,7 @@ static NSString *sdkVersion = @"110";
//目前来说,变成了空方法,其主要功能是给当前VC的属性赋值,下个版本优化,挪到UIViewController+Phobos里去
//目前来说,变成了空方法,其主要功能是给当前VC的属性赋值,下个版本优化,挪到UIViewController+Phobos里去
}
}
-
(
void
)
onPageEnd
:
(
NSString
*
)
pageName
businessId
:
(
NSString
*
)
businessId
referer
:
(
NSString
*
)
refererPageName
inTime
:
(
NSString
*
)
time
{
-
(
void
)
onPageEnd
:
(
NSString
*
)
pageName
businessId
:
(
NSString
*
)
businessId
referer
:
(
NSString
*
)
refererPageName
inTime
:
(
NSString
*
)
time
referrerId
:
(
NSString
*
)
referrerId
{
if
(
!
[
self
isNonEmpty
:
pageName
])
{
if
(
!
[
self
isNonEmpty
:
pageName
])
{
return
;
return
;
}
}
...
@@ -290,6 +290,7 @@ static NSString *sdkVersion = @"110";
...
@@ -290,6 +290,7 @@ static NSString *sdkVersion = @"110";
[
dict
setObject
:
businessId
?:
@""
forKey
:
@"business_id"
];
[
dict
setObject
:
businessId
?:
@""
forKey
:
@"business_id"
];
[
dict
setObject
:
refererPageName
?:
@""
forKey
:
@"referer"
];
[
dict
setObject
:
refererPageName
?:
@""
forKey
:
@"referer"
];
[
dict
setObject
:
@
(
0
)
forKey
:
@"fake"
];
[
dict
setObject
:
@
(
0
)
forKey
:
@"fake"
];
[
dict
setObject
:
referrerId
?
:
@""
forKey
:
@"referrer_id"
];
[
Phobos
track
:
@"page_view"
attributes
:
dict
];
[
Phobos
track
:
@"page_view"
attributes
:
dict
];
}
}
...
...
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