|
|
@@ -2243,7 +2243,7 @@ this.appId = "";
|
|
|
this.umengChannel = "";
|
|
|
this.deviceType = "";
|
|
|
this.androidVersion = "";
|
|
|
-this.mac = "1e:06:e5:13:b3:55,f6:65:e4:1a:b7:27";
|
|
|
+this.mac = "";
|
|
|
this.machineInfo = {
|
|
|
android_id: "",
|
|
|
idfa: "",
|
|
|
@@ -2273,6 +2273,7 @@ this.IP = e[12];
|
|
|
this.getDeviceInfoCompelete = !0;
|
|
|
console.log("===[this.tfChannel", this.tfChannel);
|
|
|
console.log("===[this.appVersion", this.appVersion);
|
|
|
+console.log("===[this.mac", this.mac);
|
|
|
};
|
|
|
t.prototype.init = function() {};
|
|
|
return t;
|
|
|
@@ -11123,7 +11124,7 @@ value: !0
|
|
|
n.LogTagColor = void 0;
|
|
|
var i, a = function() {
|
|
|
function t() {
|
|
|
-this.ifShowLog = !1;
|
|
|
+this.ifShowLog = !0;
|
|
|
this._tagChar = "...";
|
|
|
this._frontChar = " ";
|
|
|
this._keyValueChar = " = ";
|
|
|
@@ -11390,6 +11391,7 @@ mac: gData.appData.mac,
|
|
|
psk: this.randomKey,
|
|
|
appId: gData.appData.appId
|
|
|
};
|
|
|
+mk.console.logSingle("mac ", gData.appData.mac);
|
|
|
return [ 4, mk.http.sendRequest("connectTest", "POST", JSON.stringify(t)) ];
|
|
|
|
|
|
case 1:
|
|
|
@@ -11749,6 +11751,10 @@ this.init();
|
|
|
}
|
|
|
};
|
|
|
e.prototype.update = function() {
|
|
|
+if (gData.appData.getDeviceInfoCompelete) {
|
|
|
+gData.appData.getDeviceInfoCompelete = !1;
|
|
|
+this.getDeviceInfoBack();
|
|
|
+}
|
|
|
if (gData.appData.updateState == p.UpdateState.ForceUpdateFinish) {
|
|
|
gData.appData.updateState = p.UpdateState.CheckHot;
|
|
|
this.checkHotUpdate();
|
|
|
@@ -11759,10 +11765,9 @@ this.process += 2;
|
|
|
this.setProgress(this.process);
|
|
|
}
|
|
|
if (gData.loginData.loadResCompelete) {
|
|
|
-if (gData.appData.getDeviceInfoCompelete && mk.aliRiskManager.getRiskCode) {
|
|
|
-this.login();
|
|
|
-gData.appData.getDeviceInfoCompelete = !1;
|
|
|
+if (mk.aliRiskManager.getRiskCode) {
|
|
|
mk.aliRiskManager.getRiskCode = !1;
|
|
|
+this.login();
|
|
|
} else if (gData.gameData.dataFinish) {
|
|
|
if (1 != mk.storage.getStorage("agreementTip", !1)) {
|
|
|
mk.ui.openPanel("module/login/agreementTip");
|
|
|
@@ -11783,12 +11788,18 @@ this.lbl_progress.string = "加载不消耗流量 " + t + "%";
|
|
|
};
|
|
|
e.prototype.init = function() {
|
|
|
return r(this, void 0, void 0, function() {
|
|
|
+return c(this, function() {
|
|
|
+l.default.getWxAppId();
|
|
|
+l.default.checkPermission();
|
|
|
+return [ 2 ];
|
|
|
+});
|
|
|
+});
|
|
|
+};
|
|
|
+e.prototype.getDeviceInfoBack = function() {
|
|
|
+return r(this, void 0, void 0, function() {
|
|
|
return c(this, function(t) {
|
|
|
switch (t.label) {
|
|
|
case 0:
|
|
|
-l.default.getWxAppId();
|
|
|
-l.default.checkPermission();
|
|
|
-console.log("appversion ", gData.appData.appVersion);
|
|
|
gData.loginData.init();
|
|
|
return [ 4, this.checkForceUpate() ];
|
|
|
|
|
|
@@ -11859,6 +11870,7 @@ appId: gData.appData.appId,
|
|
|
channel: gData.appData.tfChannel,
|
|
|
version: gData.appData.appVersion
|
|
|
};
|
|
|
+mk.console.logSingle("getForceVersionInfo ", t);
|
|
|
return [ 4, mk.http.sendRequest("getForceVersionInfo", "POST", JSON.stringify(t), !1, !1) ];
|
|
|
|
|
|
case 1:
|