shawenguan há 2 anos atrás
pai
commit
9189c0b48a
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      Scripts/buyu/wbankBuYu.js

+ 1 - 1
Scripts/buyu/wbankBuYu.js

@@ -399,7 +399,7 @@ async function all() {
             if (retTime && retTime.code == 0) {
             if (retTime && retTime.code == 0) {
                 timerNum = Number(retTime.data.configValue);
                 timerNum = Number(retTime.data.configValue);
                 lk.log(`timerNum update: ${timerNum}`);
                 lk.log(`timerNum update: ${timerNum}`);
-                await sleep(timerNum * 1000);
+                sleep(timerNum);
             }
             }
             let retRule = await wRequest('GET', `/api/sysConfig/findByKey`, {
             let retRule = await wRequest('GET', `/api/sysConfig/findByKey`, {
                 data: {
                 data: {