diff --git a/application/index/controller/Test.php b/application/index/controller/Test.php new file mode 100644 index 000000000..21d759306 --- /dev/null +++ b/application/index/controller/Test.php @@ -0,0 +1,19 @@ +request->action()), ['response', 'setcache', 'getcache', 'delcache', '_empty'])) { exit($this->response('禁止访问接口安全方法!', 'ACCESS_NOT_ALLOWED')->send()); } - // 访问 Token 检测处理 $this->token = $this->request->param('token', $this->request->header('token', false)); if (empty($this->token) && !method_exists($this, $this->request->action())) {