shawenguan há 1 ano atrás
pai
commit
81de5a3e65
1 ficheiros alterados com 6 adições e 0 exclusões
  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 ofpayAccountPhone = lk.getVal(OfPayConstKey.phone);
 let ofpayCheckBuyRepeatEnable = lk.getVal(OfPayConstKey.checkBuyRepeatEnable, true);
+if (!lk.isEmpty(ofpayCheckBuyRepeatEnable)) {
+    ofpayCheckBuyRepeatEnable = JSON.parse(ofpayCheckBuyRepeatEnable);
+}
 let ofpayFastModeEnable = lk.getVal(OfPayConstKey.fastModeEnable, true);
+if (!lk.isEmpty(ofpayCheckBuyRepeatEnable)) {
+    ofpayFastModeEnable = ofpayCheckBuyRepeatEnable;
+}
 
 let appVersion = 602;