shawenguan 1 年之前
父節點
當前提交
66571b3419
共有 1 個文件被更改,包括 8 次插入8 次删除
  1. 8 8
      Scripts/hbcpre/hbcpreOrder.js

+ 8 - 8
Scripts/hbcpre/hbcpreOrder.js

@@ -149,14 +149,14 @@ async function tryQuickOrder() {
             }
         }
     }
-    magicJS.logger.info(JSON.stringify(willBuyList));
-    // if (willBuyList.length == 0) {
-    //     magicJS.logger.info(`没有匹配符合要求的产品`);
-    // }
-    // for (let i = 0; i < willBuyList.length; i++) {
-    //     const iData = willBuyList[i];
-    //     await doQuickOrder(iData, willPrice, priceFloatInterval);
-    // }
+    // magicJS.logger.info(JSON.stringify(willBuyList));
+    if (willBuyList.length == 0) {
+        magicJS.logger.info(`没有匹配符合要求的产品`);
+    }
+    for (let i = 0; i < willBuyList.length; i++) {
+        const iData = willBuyList[i];
+        await doQuickOrder(iData, willPrice, priceFloatInterval);
+    }
 }
 
 function checkAllowAutoPay(seriesInfo, willPrice){