...
|
...
|
@@ -194,38 +194,6 @@ typedef NS_ENUM(NSInteger, YHPointType) { |
|
|
#define kYHEventReportClickContent @"CONTENT"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define YOHOAppReportDefalutChannelNum @"2119" // 推广渠道号
|
|
|
|
|
|
// 运营商
|
|
|
#define kCarrierCodeChinaUnknown @"0" // 未知
|
|
|
#define kCarrierCodeChinaMobile @"1" // 中国移动
|
|
|
#define kCarrierCodeChinaTelecom @"2" // 中国电信
|
|
|
#define kCarrierCodeChinaUnicom @"3" // 中国联通
|
|
|
#define kCarrierCodeChinaTietong @"4" // 中国铁通
|
|
|
|
|
|
//上报参数的key
|
|
|
#define YOHOAppReportKeyAK @"ak"
|
|
|
#define YOHOAppReportKeyUDID @"udid"
|
|
|
#define YOHOAppReportKeyCH @"ch"
|
|
|
#define YOHOAppReportKeyOS @"os"
|
|
|
#define YOHOAppReportKeyOSV @"osv"
|
|
|
#define YOHOAppReportKeyDM @"dm"
|
|
|
#define YOHOAppReportKeyPS @"ps"
|
|
|
#define YOHOAppReportKeyAV @"av"
|
|
|
#define YOHOAppReportKeyAB @"ab"
|
|
|
#define YOHOAppReportKeyCA @"ca"
|
|
|
#define YOHOAppReportKeyNET @"net"
|
|
|
#define YOHOAppReportKeyTS @"ts"
|
|
|
#define YOHOAppReportKeyUID @"uid"
|
|
|
#define YOHOAppReportKeySID @"sid"
|
|
|
#define YOHOAppReportKeyPT @"pt"
|
|
|
#define YOHOAppReportKeyPN @"pn"
|
|
|
#define YOHOAppReportKeyPARAM @"param"
|
|
|
|
|
|
|
|
|
#define YOHOAppReportDefaultAPPKey @"yohobuy_ios"
|
|
|
|
|
|
#define IsNilOrNull(_ref) (((_ref) == nil) || ([(_ref) isEqual:[NSNull null]]))
|
...
|
...
|
@@ -286,7 +254,8 @@ typedef NS_ENUM(NSInteger, YHPointType) { |
|
|
#define YOHOAppReportKeyJsonKeyDataTypeDevice @"device" // 终端信息,包括终端的状态
|
|
|
#define YOHOAppReportKeyJsonKeyDataTypeStatus @"status" // 状态信息,包括一次操作时,用户的位置和网络等信息
|
|
|
#define YOHOAppReportKeyJsonKeyDataTypeEvents @"events" // 事件信息,包括用户的操作日志
|
|
|
|
|
|
#define YOHOAppReportKeyJsonKeyErrorTEC @"tec" // 第三方百度返回错误码
|
|
|
#define YOHOAppReportKeyJsonKeyErrorCTS @"cts" // 第三方百度返回错误码时间
|
|
|
|
|
|
// 当前网络状态
|
|
|
#define YOHOAppReportKeykNetWorkStatusUnknow @"0" // 未知
|
...
|
...
|
@@ -337,6 +306,7 @@ typedef NS_ENUM(NSInteger, YHPointType) { |
|
|
#define YOHOAppReportKeyOS @"os"
|
|
|
#define YOHOAppReportKeyOSV @"osv"
|
|
|
#define YOHOAppReportKeyDM @"dm"
|
|
|
#define YOHOAppReportKeyIDFA @"idfa"
|
|
|
#define YOHOAppReportKeyPS @"ps"
|
|
|
#define YOHOAppReportKeyAV @"av"
|
|
|
#define YOHOAppReportKeyAB @"ab"
|
...
|
...
|
|