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
d69656b5
Commit
d69656b5
authored
Nov 26, 2018
by
李震
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'lz/gmPhobos' into 'master'
页面显示时间为空时不记录页面pv事件 See merge request
!20
parents
352e5740
49ed583a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
Phobos.m
GMPhobos/Classes/Phobos.m
+3
-1
No files found.
GMPhobos/Classes/Phobos.m
View file @
d69656b5
...
...
@@ -321,9 +321,11 @@ static NSString *sdkVersion = @"110";
[
dict
setObject
:
@
(
0
)
forKey
:
@"fake"
];
[
dict
setObject
:
page
.
referrerId
?
:
@""
forKey
:
@"referrer_id"
];
[
dict
setObject
:
page
.
extraParam
?
:
@""
forKey
:
@"extra_param"
];
NSAssert
(
page
.
inTime
.
length
>
0
,
@"页面显示时间不能为空!"
);
if
(
page
.
inTime
.
length
>
0
)
{
// 页面显示时间为空时不记录页面pv事件
[
Phobos
track
:
@"page_view"
attributes
:
dict
];
}
}
@catch
(
NSException
*
exception
)
{
phobosLog
(
exception
);
}
...
...
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