Commit 281e1c16 authored by 汪洋's avatar 汪洋

phobos 通用参数添加 nano_time 和absolute_time

parent 74e89d5a
......@@ -8,7 +8,7 @@
Pod::Spec.new do |s|
s.name = "GMPhobos"
s.version = "1.3.5"
s.version = "1.3.6"
s.summary = "GM statistic data sdk"
s.description = <<-DESC
......
......@@ -15,6 +15,7 @@
#import "PhobosCustomVisibleController.h"
#import "UIDevice+Resolutions.h"
#import <GMCache/GMCache.h>
#import <mach/mach_time.h>
static Phobos *sharedClient = nil;
static NSString *sdkVersion = @"110";
......@@ -451,6 +452,8 @@ static NSString *sdkVersion = @"110";
[dict setObject:deviceParams forKey:@"device"];
[dict setObject:_userId forKey:@"user_id"];
[dict setObject:currentTime forKey:@"create_at"];
[dict setObject:@([[NSProcessInfo processInfo] systemUptime]) forKey:@"nano_time"];6
[dict setObject:@(mach_absolute_time()) forKey:@"absolute_time"];
[dict setObject:attributes forKey:@"params"];
[dict setObject:_sessionId forKey:@"app_session_id"];
}
......
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