Commit 0540d8db authored by zhangshuai's avatar zhangshuai

增加埋点

parent 61fc80cc
...@@ -556,6 +556,8 @@ NSDictionary* appLaunchOpts; ...@@ -556,6 +556,8 @@ NSDictionary* appLaunchOpts;
- (void)ios_adRedPackPlan { - (void)ios_adRedPackPlan {
WEAKSELF WEAKSELF
[IOSADManager shareADManager].advertisingSpace = @"break_the_red_envelope";
[[IOSADManager shareADManager] showADType:ADType_Video resultBlock:^(BOOL success) { [[IOSADManager shareADManager] showADType:ADType_Video resultBlock:^(BOOL success) {
if (success) { if (success) {
[[CGNetworkTools shared] postWithAction:open_plant_box parameters:@{} success:^(id _Nonnull response) { [[CGNetworkTools shared] postWithAction:open_plant_box parameters:@{} success:^(id _Nonnull response) {
...@@ -623,6 +625,8 @@ NSDictionary* appLaunchOpts; ...@@ -623,6 +625,8 @@ NSDictionary* appLaunchOpts;
- (void)gainMultipleAward: (NSString *)sid { - (void)gainMultipleAward: (NSString *)sid {
// 播放视频 // 播放视频
WEAKSELF WEAKSELF
[IOSADManager shareADManager].advertisingSpace = @"double_red_envelope";
[[IOSADManager shareADManager] showADType:ADType_Video resultBlock:^(BOOL success) { [[IOSADManager shareADManager] showADType:ADType_Video resultBlock:^(BOOL success) {
if (success) { if (success) {
[[CGNetworkTools shared] postWithAction:awardMultiple parameters:@{@"sid": sid} success:^(id _Nonnull response) { [[CGNetworkTools shared] postWithAction:awardMultiple parameters:@{@"sid": sid} success:^(id _Nonnull response) {
......
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