|
|
@@ -13001,7 +13001,7 @@ Object.defineProperty(a, "__esModule", {
|
|
|
value: !0
|
|
|
});
|
|
|
a.Fun = void 0;
|
|
|
-var o, n = t("./AppData"), i = t("./GameData"), r = t("./HttpData"), s = t("./LoginData"), c = t("./StorageData"), l = t("./WechatData"), p = t("./module/HelpData"), u = t("./module/TurnableData"), d = t("./module/SignData"), h = t("./module/FissionData"), f = t("./AdData"), y = t("./module/RewardData"), g = t("./module/CashNormalData"), m = t("./module/ReceiptNoticeData"), _ = t("./module/BlessingBagData"), v = t("./module/CashProData"), D = t("./module/RedBagCashData"), b = t("./module/RedCodeData"), w = t("./module/MoreGameData"), S = t("./module/SettingData"), k = t("./module/GuideData"), A = t("./module/GuideWeakData"), P = t("./ConfigData"), T = t("./module/NewCashUIData"), O = t("../../before/view/data/ADUnlockData"), I = t("../../before/view/data/PlantData"), R = t("../../before/main/FarmSystem"), C = t("../../before/view/data/HarvestData"), x = t("../../before/view/data/ADClearSickData"), N = t("../../before/main/PastureSystem"), M = t("../../before/main/FactorySystem"), F = t("./module/FarmMapData"), B = t("./module/GradeRewardData"), j = t("./module/WalletCashOutData"), E = t("./module/LineUpUIData"), L = t("./module/WarnTipData"), U = t("./module/SafeDepositBoxData"), G = function() {
|
|
|
+var o, n = t("./AppData"), i = t("./GameData"), r = t("./HttpData"), s = t("./LoginData"), c = t("./StorageData"), l = t("./WechatData"), p = t("./module/HelpData"), u = t("./module/TurnableData"), d = t("./module/SignData"), h = t("./module/FissionData"), f = t("./AdData"), y = t("./module/RewardData"), g = t("./module/CashNormalData"), m = t("./module/ReceiptNoticeData"), _ = t("./module/BlessingBagData"), v = t("./module/CashProData"), D = t("./module/RedBagCashData"), b = t("./module/RedCodeData"), w = t("./module/MoreGameData"), S = t("./module/SettingData"), k = t("./module/GuideData"), A = t("./module/GuideWeakData"), P = t("./ConfigData"), T = t("./module/NewCashUIData"), O = t("../../before/view/data/ADUnlockData"), I = t("../../before/view/data/PlantData"), R = t("../../before/main/FarmSystem"), C = t("../../before/view/data/HarvestData"), x = t("../../before/view/data/ADClearSickData"), N = t("../../before/main/PastureSystem"), M = t("../../before/main/FactorySystem"), F = t("./module/FarmMapData"), B = t("./module/GradeRewardData"), j = t("./module/WalletCashOutData"), L = t("./module/LineUpUIData"), E = t("./module/WarnTipData"), U = t("./module/SafeDepositBoxData"), G = function() {
|
|
|
function t() {
|
|
|
this.init();
|
|
|
}
|
|
|
@@ -13040,8 +13040,8 @@ this.farmSystem = new R.FarmSystem();
|
|
|
this.farmMapData = new F.FarmMapData();
|
|
|
this.farmGradeData = new B.GradeRewardData();
|
|
|
this.walletCashOutData = new j.WalletCashOutData();
|
|
|
-this.lineUpUIData = new E.LineUpUIData();
|
|
|
-this.warnTipData = new L.default();
|
|
|
+this.lineUpUIData = new L.LineUpUIData();
|
|
|
+this.warnTipData = new E.default();
|
|
|
this.safeDepositBoxData = new U.default();
|
|
|
this.moduleData = new Map();
|
|
|
this.moduleData.set(o.moreGame, this.moreGame);
|
|
|
@@ -16055,30 +16055,17 @@ return !this.isGray;
|
|
|
};
|
|
|
e.prototype.getOrderReward = function() {
|
|
|
return r(this, void 0, void 0, function() {
|
|
|
-var t, e, a;
|
|
|
-return s(this, function(o) {
|
|
|
-switch (o.label) {
|
|
|
-case 0:
|
|
|
+var t;
|
|
|
+return s(this, function() {
|
|
|
if (cc.sys.isNative && !gData.loginData.isAuth) {
|
|
|
gData.gameData.authUIType = 0;
|
|
|
mk.ui.openPanel("module/authUI/authUI");
|
|
|
return [ 2 ];
|
|
|
}
|
|
|
-t = {};
|
|
|
-return [ 4, mk.http.sendData("orderTask/receiveRewardCash", t) ];
|
|
|
-
|
|
|
-case 1:
|
|
|
-if (0 != (e = o.sent()).errcode) {
|
|
|
-if (405 == e.errcode) {
|
|
|
-mk.tip.pop("今日提现额度已到上限,请明天再提现");
|
|
|
-mk.data.sendDataEvent(d.DataEventId.cashLimit, "提现触发上限");
|
|
|
-}
|
|
|
-return [ 2, null ];
|
|
|
-}
|
|
|
-a = gData.gameData.playerProp.orderData.cashMoney;
|
|
|
-gData.gameData.playerProp.orderData = e.data.userOrderTaskInfo;
|
|
|
+t = gData.gameData.playerProp.orderData.cashMoney;
|
|
|
+gData.safeDepositBoxData.setCashRecordDataLength();
|
|
|
gData.cashPro.callBack = this.getRewardCallBack.bind(this);
|
|
|
-gData.receiptNotice.receip_rmb = a;
|
|
|
+gData.receiptNotice.receip_rmb = t;
|
|
|
mk.ui.openPanel("module/newNotice/newNotice");
|
|
|
this.node_crop.forEach(function(t) {
|
|
|
t.active = !1;
|
|
|
@@ -16086,7 +16073,6 @@ t.active = !1;
|
|
|
this.node_orderHbIcon.active = !1;
|
|
|
this.node_getOrderReward.node.active = !1;
|
|
|
return [ 2 ];
|
|
|
-}
|
|
|
});
|
|
|
});
|
|
|
};
|
|
|
@@ -16112,7 +16098,6 @@ this.showTips();
|
|
|
gData.gameData.init_order = !0;
|
|
|
gData.gameData.checkTaskFinishUnLock();
|
|
|
gData.gameData.richBankTeachTag = !0;
|
|
|
-gData.safeDepositBoxData.setCashRecordDataLength();
|
|
|
gData.safeDepositBoxData.updateQipao();
|
|
|
gData.cashNormal.getRecord();
|
|
|
if (this.isStopFarm) {
|