shawenguan 1 年之前
父节点
当前提交
81de5a3e65
共有 1 个文件被更改,包括 6 次插入0 次删除
  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;