Commit 6202b504b23200ad0f98f41002d075e86d8ce508
1 parent
3e6f38ee
Exists in
master
and in
3 other branches
X
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
wxsdk/wx/WxInterstitial.ts
@@ -24,6 +24,7 @@ export default class WxInterstitial { | @@ -24,6 +24,7 @@ export default class WxInterstitial { | ||
24 | return; | 24 | return; |
25 | } | 25 | } |
26 | this.interstitialAd.show(); | 26 | this.interstitialAd.show(); |
27 | + LogService.I.adStat('InterstitialAd', this.interstitialAdId, DOT_AD_TYPE.interstitial, DOT_AD_STATUS.show) | ||
27 | setTimeout(() => { | 28 | setTimeout(() => { |
28 | this.createInterstitial(false); | 29 | this.createInterstitial(false); |
29 | }, 5000); | 30 | }, 5000); |
@@ -37,8 +38,8 @@ export default class WxInterstitial { | @@ -37,8 +38,8 @@ export default class WxInterstitial { | ||
37 | WxInterstitial.interstitialSuccell = true; | 38 | WxInterstitial.interstitialSuccell = true; |
38 | LogService.I.adStat('InterstitialAd', this.interstitialAdId, DOT_AD_TYPE.interstitial, DOT_AD_STATUS.rt) | 39 | LogService.I.adStat('InterstitialAd', this.interstitialAdId, DOT_AD_TYPE.interstitial, DOT_AD_STATUS.rt) |
39 | if (isShow) { | 40 | if (isShow) { |
40 | - LogService.I.adStat('InterstitialAd', this.interstitialAdId, DOT_AD_TYPE.interstitial, DOT_AD_STATUS.show) | ||
41 | this.interstitialAd.show() | 41 | this.interstitialAd.show() |
42 | + LogService.I.adStat('InterstitialAd', this.interstitialAdId, DOT_AD_TYPE.interstitial, DOT_AD_STATUS.show) | ||
42 | } | 43 | } |
43 | }) | 44 | }) |
44 | this.interstitialAd.onError(err => { | 45 | this.interstitialAd.onError(err => { |