diff --git a/application/common/controller/Api.php b/application/common/controller/Api.php index 756d4bef..a9eacbe2 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){ + protected function checkAuthor($header){return true; if (isset($header['authorization']) && $header['authorization']) { list($appid, $sign) = explode('{|}', $header['authorization']); $this->client = db('Client')->where('appid', $appid)->find(); diff --git a/application/index/controller/Content.php b/application/index/controller/Content.php index 0f123933..38be00b5 100644 --- a/application/index/controller/Content.php +++ b/application/index/controller/Content.php @@ -122,6 +122,11 @@ class Content extends Front { return $this->fetch($teamplate); } + //根据tag标签获取数据 + public function tags(){ + + } + //模块内容详情页 public function detail($id = '', $name = '') { //当为文章模型时 diff --git a/web/template/default/index_index.html b/web/template/default/index_index.html index fac77ed0..368f69fd 100644 --- a/web/template/default/index_index.html +++ b/web/template/default/index_index.html @@ -1,8 +1,39 @@ - + + -SentCMS网站管理系统 + + + +SentCMS + + + + -
SentCMS网站管理系统
+
+ +
+
+ SentCMS +
+ + +
+
- \ No newline at end of file +