shawenguan hai 1 ano
pai
achega
81de5a3e65
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      Scripts/elife/ofpayGrab.js

+ 6 - 0
Scripts/elife/ofpayGrab.js

@@ -25,7 +25,13 @@ let ofpayAuthorization = lk.getVal(OfPayConstKey.token, '');
 let ofpayCookie = lk.getVal(OfPayConstKey.cookie,'');
 let ofpayCookie = lk.getVal(OfPayConstKey.cookie,'');
 let ofpayAccountPhone = lk.getVal(OfPayConstKey.phone);
 let ofpayAccountPhone = lk.getVal(OfPayConstKey.phone);
 let ofpayCheckBuyRepeatEnable = lk.getVal(OfPayConstKey.checkBuyRepeatEnable, true);
 let ofpayCheckBuyRepeatEnable = lk.getVal(OfPayConstKey.checkBuyRepeatEnable, true);
+if (!lk.isEmpty(ofpayCheckBuyRepeatEnable)) {
+    ofpayCheckBuyRepeatEnable = JSON.parse(ofpayCheckBuyRepeatEnable);
+}
 let ofpayFastModeEnable = lk.getVal(OfPayConstKey.fastModeEnable, true);
 let ofpayFastModeEnable = lk.getVal(OfPayConstKey.fastModeEnable, true);
+if (!lk.isEmpty(ofpayCheckBuyRepeatEnable)) {
+    ofpayFastModeEnable = ofpayCheckBuyRepeatEnable;
+}
 
 
 let appVersion = 602;
 let appVersion = 602;