Commit 80ba1cf6 authored by 乔金柱's avatar 乔金柱

Merge branch 'zl_phobos' into 'master'

新增is_first字段

See merge request !59
parents 19d46e1d 3254171e
......@@ -60,6 +60,7 @@ NSString *const MockCityId = @"beijing";
[dict setObject:@"" forKey:@"extra_param"];
[dict setObject:@"" forKey:@"referrer_tab_name"];
[dict setObject:@(0) forKey:@"is_push"];
[dict setObject:@(0) forKey:@"is_first"];
// [Phobos track:@"page_view" attributes:dict];
// NSArray *array = [GMCache fetchObjectAtDocumentPathWithkey:PhobosCacheKey];
//
......
PODS:
- GMCache (1.0.1):
- TMCache (= 2.1.0)
- GMPhobos (2.0.6):
- GMPhobos (2.0.7):
- GMCache
- MagicalRecord
- MJExtension
......@@ -28,11 +28,11 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
GMCache: b78d8e46db864405e91d226ce640cc80d966c611
GMPhobos: e70f78a492eca95a5c5152620deda65e49f4e216
GMPhobos: 115e2608cdebcccf445bf95766fee25a4b62153d
MagicalRecord: 53bed74b4323b930992a725be713e53b37d19755
MJExtension: 635f2c663dcb1bf76fa4b715b2570a5710aec545
TMCache: 95ebcc9b3c7e90fb5fd8fc3036cba3aa781c9bed
PODFILE CHECKSUM: ea0fac2144ac80baf8f21576cde49526c19991ad
COCOAPODS: 1.9.1
COCOAPODS: 1.9.3
......@@ -284,6 +284,7 @@ static dispatch_semaphore_t _phobos_semaphore;
[dict setObject:PhobosSafeString(page.messageId) forKey:@"message_id"];
[dict setObject:PhobosSafeString(page.inTimeMillis) forKey:@"in_time_millis"];
[dict setObject:PhobosSafeString([PhobosUtil currentMMTime]) forKey:@"out_time_millis"];
[dict setObject:@(page.isFirst) forKey:@"is_first"];
if (page.inTime.length > 0) {
// 页面显示时间为空时不记录页面pv事件
......
......@@ -362,6 +362,7 @@ static OldPhobos *sharedClient = nil;
[dict setObject:PhobosSafeString(page.messageId) forKey:@"message_id"];
[dict setObject:PhobosSafeString(page.inTimeMillis) forKey:@"in_time_millis"];
[dict setObject:PhobosSafeString([PhobosUtil currentMMTime]) forKey:@"out_time_millis"];
[dict setObject:@(page.isFirst) forKey:@"is_first"];
if (page.inTime.length > 0) {
// 页面显示时间为空时不记录页面pv事件
......
......@@ -89,6 +89,11 @@ typedef void(^PhobosUpdatePVBlock)(void);
获取上一个页面链路的page_name link by 7.20.0 如果有此页面有page_name则添加 , 没有添加""
*/
@property (nonatomic, strong) NSArray *referrerLink;
/**
是否是第一次来到这个页面,在viewDidLoad赋值为1
在即将消失的方法赋值为0
*/
@property (nonatomic, assign) NSInteger isFirst;
/// 业务层更新PVStart信息
@property (nonatomic, copy) PhobosUpdatePVBlock updatePVStartBlock;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment