\app\middlewareCheckApiAuth

检测请求接口权限 Class CheckApiAuth

Summary

Methods
Properties
Constants
handle()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
checkAuth()
getUserAuth()
No private properties found
N/A

Methods

handle()

handle(\think\Request  $request, \Closure  $next) : \think\Response

处理请求

Parameters

\think\Request $request
\Closure $next

Returns

\think\Response

checkAuth()

checkAuth(\app\middleware\int  $uid, \app\middleware\string  $roleId, \app\middleware\string  $route) 

Parameters

\app\middleware\int $uid
\app\middleware\string $roleId
\app\middleware\string $route

getUserAuth()

getUserAuth(string  $roleId) : array

Parameters

string $roleId

Returns

array