|
@@ -52,6 +52,9 @@ class Service { |
|
@@ -52,6 +52,9 @@ class Service { |
52
|
app.globalData.switch_javaApiEnable = false;
|
52
|
app.globalData.switch_javaApiEnable = false;
|
53
|
}
|
53
|
}
|
54
|
return executeReq();
|
54
|
return executeReq();
|
|
|
55
|
+ }, () => {
|
|
|
56
|
+ app.globalData.hasSetSwitch = true;
|
|
|
57
|
+ return executeReq();
|
55
|
});
|
58
|
});
|
56
|
} else {
|
59
|
} else {
|
57
|
return executeReq();
|
60
|
return executeReq();
|
|
@@ -87,6 +90,9 @@ class Service { |
|
@@ -87,6 +90,9 @@ class Service { |
87
|
app.globalData.switch_javaApiEnable = false;
|
90
|
app.globalData.switch_javaApiEnable = false;
|
88
|
}
|
91
|
}
|
89
|
return executeReq();
|
92
|
return executeReq();
|
|
|
93
|
+ }, () => {
|
|
|
94
|
+ app.globalData.hasSetSwitch = true;
|
|
|
95
|
+ return executeReq();
|
90
|
});
|
96
|
});
|
91
|
} else {
|
97
|
} else {
|
92
|
return executeReq();
|
98
|
return executeReq();
|