|
|
@@ -2494,8 +2494,9 @@ this.adMap.set(i.cashOutAddCash, gData.walletCashOutData);
|
|
|
t.prototype.checkAdMax = function() {
|
|
|
this.watchNumToday++;
|
|
|
var t = parseInt(gData.gameData.configs.ServerConfig.VideoTimesMax);
|
|
|
+mk.console.logSingle("checkAdMax ", t);
|
|
|
if (this.watchNumToday > t) {
|
|
|
-mk.tip.pop("今日看广告获得奖励的次数已用完", 1);
|
|
|
+mk.tip.pop("今日看广告获得奖励的次数已用完");
|
|
|
mk.ui.closeAllUI();
|
|
|
return !0;
|
|
|
}
|
|
|
@@ -14058,7 +14059,7 @@ this.setGuideID(this.crtGuideID++);
|
|
|
}
|
|
|
};
|
|
|
t.prototype.setGuideID = function(t) {
|
|
|
-if (4 == t) {
|
|
|
+if (5 == t) {
|
|
|
t = 9999;
|
|
|
mk.data.sendXYEvent("guide_end", "新手引导结束");
|
|
|
}
|
|
|
@@ -29272,9 +29273,9 @@ return [ 2 ];
|
|
|
};
|
|
|
e.prototype.HttpCashOut2 = function(t) {
|
|
|
return i(this, void 0, void 0, function() {
|
|
|
-var e, o;
|
|
|
-return r(this, function(n) {
|
|
|
-switch (n.label) {
|
|
|
+var e, o, n;
|
|
|
+return r(this, function(a) {
|
|
|
+switch (a.label) {
|
|
|
case 0:
|
|
|
e = {
|
|
|
index: t
|
|
|
@@ -29282,7 +29283,7 @@ index: t
|
|
|
return [ 4, mk.http.sendData("redMoney/cashPay", e) ];
|
|
|
|
|
|
case 1:
|
|
|
-o = n.sent();
|
|
|
+o = a.sent();
|
|
|
mk.console.logSingle("wallet2=>", o);
|
|
|
if (0 != o.errcode) {
|
|
|
if (o.data.count > 0) {
|
|
|
@@ -29293,6 +29294,11 @@ return [ 2 ];
|
|
|
}
|
|
|
gData.gameData.gameData.redMoneyCashPayRecordList = o.data.redMoneyCashPayRecordList;
|
|
|
this.init_cashOut = !0;
|
|
|
+if (n = gData.gameData.configs.CashCfg) {
|
|
|
+gData.gameData.gameData.redMoney -= n[t - 1].redMoney;
|
|
|
+gData.receiptNotice.receip_rmb = n[t - 1].money;
|
|
|
+mk.ui.openPanel("module/newNotice/newNotice");
|
|
|
+}
|
|
|
return [ 2 ];
|
|
|
}
|
|
|
});
|