There was an error while loading. Please reload this page.
1 parent 26ac9b1 commit e906ff9Copy full SHA for e906ff9
app/Http/Middleware/CheckRole.php
@@ -23,6 +23,7 @@ public function handle($request, Closure $next, $role)
23
throw new UnauthorizedHttpException('jwt-auth', '登录失效');
24
}
25
if (!$role) {
26
+ $this->saveSystemLogs($request);
27
$next($request);
28
29
$roles = explode('|', $role);
0 commit comments