From 5bb020a9a47d8a3a452cf58ebccca9576f1a60d7 Mon Sep 17 00:00:00 2001
From: LMR <59361885@qq.com>
Date: Thu, 21 Feb 2019 15:20:49 +0800
Subject: [PATCH 1/2] hide sucess info
---
application/views/bootstrap3/footer.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/application/views/bootstrap3/footer.php b/application/views/bootstrap3/footer.php
index 603a9dc4..47ece7a6 100644
--- a/application/views/bootstrap3/footer.php
+++ b/application/views/bootstrap3/footer.php
@@ -43,7 +43,7 @@
-
+
正在更新静态页面,请稍等8~12秒。

From cf39c1fb83eac7a2c41c038e6b425af086775b27 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=B0=B9=E8=AF=9A=E8=AF=9A?=
Date: Fri, 22 Feb 2019 11:05:55 +0800
Subject: [PATCH 2/2] =?UTF-8?q?amp=E7=94=9F=E6=88=90=E8=BF=94=E5=9B=9E?=
=?UTF-8?q?=E7=A9=BA=E5=88=A4=E6=96=AD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
application/views/bootstrap3/refresh_amp_urls.php | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/application/views/bootstrap3/refresh_amp_urls.php b/application/views/bootstrap3/refresh_amp_urls.php
index 1c825239..8de3adc3 100644
--- a/application/views/bootstrap3/refresh_amp_urls.php
+++ b/application/views/bootstrap3/refresh_amp_urls.php
@@ -11,6 +11,13 @@
dataType: "json",
url: "/" + ic_id,
success: function (result, textStatus) {
+ //当result为空的时候跳过
+ if(result.length == 0 || result =='' || undefined || null){
+ $(msg_obj).html("发生错误,请重试");
+ create_amp_data(++index);
+ return;
+ }
+
$.each(result, function (i, field) {
if (i === 'data') {
amp_code = field.amp;