Commit 0540d8db authored by zhangshuai's avatar zhangshuai

增加埋点

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