From 7808fc78f3befce9097daf89ba50edd53a321ed0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=99=E8=BF=B0=E3=80=81=E5=88=AB=E7=A6=BB?= <93301500+xushubieli@users.noreply.github.com> Date: Fri, 12 May 2023 17:20:48 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/system/archive/listview.class.php | 4 ++-- src/system/archive/sglistview.class.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/system/archive/listview.class.php b/src/system/archive/listview.class.php index 2c540c5b..2c03ea9c 100755 --- a/src/system/archive/listview.class.php +++ b/src/system/archive/listview.class.php @@ -82,7 +82,7 @@ class ListView } //设置一些全局参数的值 foreach ($GLOBALS['PubFields'] as $k => $v) $this->Fields[$k] = $v; - //API相关逻辑处理 + //api相关逻辑处理 if ($this->mod == 1 && empty($this->Fields['apikey'])) { echo json_encode(array( "code" => -1, @@ -90,7 +90,7 @@ class ListView )); exit; } - if($this->mod == 1){ + if ($this->mod == 1) { if (empty($GLOBALS['sign'])) { echo json_encode(array( "code" => -1, diff --git a/src/system/archive/sglistview.class.php b/src/system/archive/sglistview.class.php index 87c0fe55..ac0c9fae 100755 --- a/src/system/archive/sglistview.class.php +++ b/src/system/archive/sglistview.class.php @@ -78,7 +78,7 @@ class SgListView //设置一些全局参数的值 foreach ($GLOBALS['PubFields'] as $k => $v) $this->Fields[$k] = $v; $this->Fields['rsslink'] = $GLOBALS['cfg_cmsurl']."/static/rss/".$this->TypeID.".xml"; - //API相关逻辑处理 + //api相关逻辑处理 if ($this->mod == 1 && empty($this->Fields['apikey'])) { echo json_encode(array( "code" => -1, @@ -86,7 +86,7 @@ class SgListView )); exit; } - if($this->mod == 1){ + if ($this->mod == 1) { if (empty($GLOBALS['sign'])) { echo json_encode(array( "code" => -1,