update
This commit is contained in:
@@ -46,7 +46,7 @@ class Api {
|
|||||||
return $this->data;
|
return $this->data;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function checkAuthor($header){return true;
|
protected function checkAuthor($header){
|
||||||
if (isset($header['authorization']) && $header['authorization']) {
|
if (isset($header['authorization']) && $header['authorization']) {
|
||||||
list($appid, $sign) = explode('{|}', $header['authorization']);
|
list($appid, $sign) = explode('{|}', $header['authorization']);
|
||||||
$this->client = db('Client')->where('appid', $appid)->find();
|
$this->client = db('Client')->where('appid', $appid)->find();
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title>SentCMS</title>
|
<title>SentCMS网站管理系统</title>
|
||||||
<!-- Fonts -->
|
<!-- Fonts -->
|
||||||
<link href="https://fonts.googleapis.com/css?family=Raleway:100,600" rel="stylesheet" type="text/css">
|
<link href="https://fonts.googleapis.com/css?family=Raleway:100,600" rel="stylesheet" type="text/css">
|
||||||
<!-- Styles -->
|
<!-- Styles -->
|
||||||
@@ -25,7 +25,7 @@ html, body {background-color: #fff; color: #636b6f; font-family: 'Raleway', sans
|
|||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div class="title m-b-md">
|
<div class="title m-b-md">
|
||||||
SentCMS
|
SentCMS网站管理系统
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="links">
|
<div class="links">
|
||||||
|
|||||||
Reference in New Issue
Block a user