Authored by 李奇

开关值调整

... ... @@ -119,7 +119,7 @@ App({
iconfSwitch(this).then(data => {
console.log('>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> app onshow switch');
this.globalData.hasSetSwitch = true;
if (data['javaapi'] && md5('0') === data['javaapi']) {
if (data['javaapi'] && '0' === data['javaapi']) {
this.globalData.switch_javaApiEnable = false;
}
}, () => {
... ...
... ... @@ -48,7 +48,7 @@ class Service {
return iconfSwitch().then(data => {
console.log('>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> _get switch');
app.globalData.hasSetSwitch = true;
if (data['javaapi'] && md5('0') === data['javaapi']) {
if (data['javaapi'] && '0' === data['javaapi']) {
app.globalData.switch_javaApiEnable = false;
}
return executeReq();
... ...