Commit 0bd43b0c authored by sugar's avatar sugar

对接鹿马

parent 96ca2256
......@@ -119,8 +119,8 @@ class Api
// 设置当前请求的URI
$this->auth->setRequestUri($path);
// 检测是否需要验证登录
if (!$this->auth->match($this->noNeedLogin)) {
dump($this->noNeedLogin);die;
if(!isset($header['token'])){
$this->error(__('请求头错误'));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment