更新
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -122,6 +122,11 @@ class Content extends Front {
|
||||
return $this->fetch($teamplate);
|
||||
}
|
||||
|
||||
//根据tag标签获取数据
|
||||
public function tags(){
|
||||
|
||||
}
|
||||
|
||||
//模块内容详情页
|
||||
public function detail($id = '', $name = '') {
|
||||
//当为文章模型时
|
||||
|
||||
@@ -1,8 +1,39 @@
|
||||
<html>
|
||||
<!doctype html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<title>SentCMS网站管理系统</title>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>SentCMS</title>
|
||||
<!-- Fonts -->
|
||||
<link href="https://fonts.googleapis.com/css?family=Raleway:100,600" rel="stylesheet" type="text/css">
|
||||
<!-- Styles -->
|
||||
<style>
|
||||
html, body {background-color: #fff; color: #636b6f; font-family: 'Raleway', sans-serif; font-weight: 100; height: 100vh; margin: 0;}
|
||||
.full-height {height: 100vh;}
|
||||
.flex-center {align-items: center;display: flex;justify-content: center;}
|
||||
.position-ref {position: relative;}
|
||||
.top-right {position: absolute;right: 10px;top: 18px;}
|
||||
.content {text-align: center;}
|
||||
.title {font-size: 84px;}
|
||||
.links > a {color: #636b6f;padding: 0 25px; font-size: 12px;font-weight: 600;letter-spacing: .1rem;text-decoration: none;text-transform: uppercase;}
|
||||
.m-b-md {margin-bottom: 30px;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div>SentCMS网站管理系统</div>
|
||||
<div class="flex-center position-ref full-height">
|
||||
|
||||
<div class="content">
|
||||
<div class="title m-b-md">
|
||||
SentCMS
|
||||
</div>
|
||||
|
||||
<div class="links">
|
||||
<a href="https://www.kancloud.cn/tensent/sentcms3/169624" target="_blank">文档</a>
|
||||
<a href="https://www.tensent.cn" target="_blank">资讯</a>
|
||||
<a href="https://gitee.com/sentcms/sentcms" target="_blank">Gitee</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user