shawenguan преди 1 година
родител
ревизия
6b36a3ca71
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      Scripts/unicom/unicomRechargeDisc.js

+ 3 - 3
Scripts/unicom/unicomRechargeDisc.js

@@ -174,9 +174,9 @@ async function tryGrab() {
 async function doGrabByNormal() {
     let theAcType = 'AM';
     let nowDate = new Date();
-    // if (nowDate.getHours() > 12) {
-    //     theAcType = 'PM';
-    // }
+    if (nowDate.getHours() > 12) {
+        theAcType = 'PM';
+    }
     let tipsText = ``;
     let taskInfoList = getTaskInfoList();
     for (let i = 0; i < taskInfoList.length; i++) {