Commit 96ca2256 authored by sugar's avatar sugar

对接鹿马

parent 3b56ea9a
......@@ -119,6 +119,7 @@ class Api
// 设置当前请求的URI
$this->auth->setRequestUri($path);
// 检测是否需要验证登录
if (!$this->auth->match($this->noNeedLogin)) {
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