This commit is contained in:
2019-06-07 13:50:23 +08:00
parent 790eead97f
commit 8d64a14295
2 changed files with 3 additions and 3 deletions

View File

@@ -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();

View File

@@ -4,7 +4,7 @@
<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>
<title>SentCMS网站管理系统</title>
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css?family=Raleway:100,600" rel="stylesheet" type="text/css">
<!-- Styles -->
@@ -25,7 +25,7 @@ html, body {background-color: #fff; color: #636b6f; font-family: 'Raleway', sans
<div class="content">
<div class="title m-b-md">
SentCMS
SentCMS网站管理系统
</div>
<div class="links">