|
|
@@ -165,6 +165,8 @@ export default class AdSystem {
|
|
|
private initLastTimeStamp() {
|
|
|
let new_date = new Date();
|
|
|
this.last_time_stamp = new_date.getTime();
|
|
|
+
|
|
|
+ mk.storage.setStorage('last_time_stamp', this.last_time_stamp);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -214,6 +216,10 @@ export default class AdSystem {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
+ if (gData.warnTipData.curSolution >= 2) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
this.bannerAdType = bannerAdType;
|
|
|
mk.console.logSingle('banner', 'showBanner');
|
|
|
// console.log("===[AdSystem gameData.adShowConfig", gData.gameData.adShowConfig.is_show_banner);
|
|
|
@@ -248,6 +254,10 @@ export default class AdSystem {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
+ if (gData.warnTipData.curSolution >= 2) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
if (type == 1) {
|
|
|
if (des as InterFullAdType) {
|
|
|
this.interFullAdType = des;
|