diff --git a/application/common/controller/Api.php b/application/common/controller/Api.php index a9eacbe2..756d4bef 100644 --- a/application/common/controller/Api.php +++ b/application/common/controller/Api.php @@ -46,7 +46,7 @@ class Api { return $this->data; } - protected function checkAuthor($header){return true; + protected function checkAuthor($header){ if (isset($header['authorization']) && $header['authorization']) { list($appid, $sign) = explode('{|}', $header['authorization']); $this->client = db('Client')->where('appid', $appid)->find(); diff --git a/web/template/default/index_index.html b/web/template/default/index_index.html index 368f69fd..51052015 100644 --- a/web/template/default/index_index.html +++ b/web/template/default/index_index.html @@ -4,7 +4,7 @@ -SentCMS +SentCMS网站管理系统 @@ -25,7 +25,7 @@ html, body {background-color: #fff; color: #636b6f; font-family: 'Raleway', sans
- SentCMS + SentCMS网站管理系统