From 20709b6b26b312569a6cfa0150db7593987763fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B9=E8=AF=9A=E8=AF=9A?= Date: Wed, 20 Mar 2019 13:43:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=89=B9=E9=87=8F=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E5=BB=B6=E8=BF=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/views/bootstrap/cache_url.php | 2 +- application/views/bootstrap3/refresh_amp_urls.php | 2 +- &1 | 13 ------------- 3 files changed, 2 insertions(+), 15 deletions(-) delete mode 100644 &1 diff --git a/application/views/bootstrap/cache_url.php b/application/views/bootstrap/cache_url.php index 41ffc24f..013933ab 100644 --- a/application/views/bootstrap/cache_url.php +++ b/application/views/bootstrap/cache_url.php @@ -32,7 +32,7 @@ function batch_update_cache(url, index) { function create_cache_data(index){ if ($('#cache_url' + index).length > 0) { if ($('#cache' + index).html() != '\u66f4\u65b0\u9759\u6001\u9875\u9762\u6210\u529f\uff01') { - batch_update_cache($('#cache_url' + index).html(),index); + setTimeout(batch_update_cache($('#cache_url' + index).html(),index),5000); } } } diff --git a/application/views/bootstrap3/refresh_amp_urls.php b/application/views/bootstrap3/refresh_amp_urls.php index 8de3adc3..053ebcf3 100644 --- a/application/views/bootstrap3/refresh_amp_urls.php +++ b/application/views/bootstrap3/refresh_amp_urls.php @@ -67,7 +67,7 @@ if ($('#cache' + index).html() == '手动管理,不会自动更新') { //手动更新的项目跳过 create_amp_data(++index); } else { - batch_update_amp(index); + setTimeout(batch_update_amp(index),5000); } } } diff --git a/&1 b/&1 deleted file mode 100644 index 20ae0b66..00000000 --- a/&1 +++ /dev/null @@ -1,13 +0,0 @@ -fs.js:115 - throw err; - ^ - -Error: EPERM: operation not permitted, lstat 'C:\Users\lmr' - at Object.realpathSync (fs.js:1457:7) - at toRealPath (internal/modules/cjs/loader.js:202:13) - at Function.Module._findPath (internal/modules/cjs/loader.js:268:22) - at Function.Module._resolveFilename (internal/modules/cjs/loader.js:578:25) - at Function.Module._load (internal/modules/cjs/loader.js:507:25) - at Function.Module.runMain (internal/modules/cjs/loader.js:742:12) - at startup (internal/bootstrap/node.js:283:19) - at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)