默认提交
Showing
1 changed file
with
1 additions
and
4 deletions
... | @@ -68,16 +68,13 @@ Page({ | ... | @@ -68,16 +68,13 @@ Page({ |
68 | _this.onReplayHandler(); | 68 | _this.onReplayHandler(); |
69 | }).catch((err) => {});; | 69 | }).catch((err) => {});; |
70 | this.initData(); | 70 | this.initData(); |
71 | if (app.globalData.adConfigure && app.globalData.adConfigure.ad_config_03 == 1) { | ||
72 | this.addRewardedVideo(); | ||
73 | } | ||
74 | }); | 71 | }); |
75 | 72 | ||
76 | wx.aldstat.sendEvent('进入页面', { | 73 | wx.aldstat.sendEvent('进入页面', { |
77 | '页面名字': '视频详情页' | 74 | '页面名字': '视频详情页' |
78 | }); | 75 | }); |
79 | 76 | ||
80 | // 检查是否添加激励广告 | 77 | |
81 | this.checkPlayTimes().then((result) => { | 78 | this.checkPlayTimes().then((result) => { |
82 | if (wx.createRewardedVideoAd) { | 79 | if (wx.createRewardedVideoAd) { |
83 | rewardedVideoAd = wx.createRewardedVideoAd({ | 80 | rewardedVideoAd = wx.createRewardedVideoAd({ | ... | ... |
-
Please register or sign in to post a comment