From 790eead97f8d0ed9727c1c84c4862130524c364c Mon Sep 17 00:00:00 2001 From: molong Date: Fri, 7 Jun 2019 10:00:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/common/controller/Api.php | 2 +- application/index/controller/Content.php | 5 +++ web/template/default/index_index.html | 39 +++++++++++++++++++++--- 3 files changed, 41 insertions(+), 5 deletions(-) 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 +