Commit 41398328 authored by wangjun's avatar wangjun

给PV事件添加新的参数referrer_id

parent ee46bd67
{ {
"images" : [ "images" : [
{
"idiom" : "iphone",
"size" : "20x20",
"scale" : "2x"
},
{
"idiom" : "iphone",
"size" : "20x20",
"scale" : "3x"
},
{ {
"idiom" : "iphone", "idiom" : "iphone",
"size" : "29x29", "size" : "29x29",
...@@ -30,6 +40,16 @@ ...@@ -30,6 +40,16 @@
"size" : "60x60", "size" : "60x60",
"scale" : "3x" "scale" : "3x"
}, },
{
"idiom" : "ipad",
"size" : "20x20",
"scale" : "1x"
},
{
"idiom" : "ipad",
"size" : "20x20",
"scale" : "2x"
},
{ {
"idiom" : "ipad", "idiom" : "ipad",
"size" : "29x29", "size" : "29x29",
......
...@@ -9,6 +9,8 @@ ...@@ -9,6 +9,8 @@
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
@interface UIViewController (Phobos) @interface UIViewController (Phobos)
/** /**
* @author 翟国钧, 16-02-24 17:02:22 * @author 翟国钧, 16-02-24 17:02:22
* *
...@@ -41,4 +43,9 @@ ...@@ -41,4 +43,9 @@
*/ */
@property (nonatomic, copy, nonnull) NSString *inTime; @property (nonatomic, copy, nonnull) NSString *inTime;
/**
<#Description#>
*/
@property (nonatomic, copy, nonnull) NSString *referrerId;
@end @end
...@@ -63,4 +63,11 @@ ...@@ -63,4 +63,11 @@
return inTime; return inTime;
} }
- (void)setReferrerId:(NSString *)referrerId {
objc_setAssociatedObject(self, @selector(referrerId), referrerId, OBJC_ASSOCIATION_COPY);
}
- (NSString *)referrerId {
return objc_getAssociatedObject(self, @selector(referrerId));
}
@end @end
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