We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fef7484 commit a3fb8aeCopy full SHA for a3fb8ae
application/api/controller/Api.php
@@ -47,7 +47,7 @@ public function init()
47
48
return self::returnMsg(200,'success');
49
}
50
- if(!Oauth::match($this->noAuth)){
+ if(!Oauth::match($this->noAuth)){ //请求方法白名单
51
$oauth = app('app\api\controller\Oauth'); //tp5.1容器,直接绑定类到容器进行实例化
52
return $this->clientInfo = $oauth->authenticate();;
53
0 commit comments