This commit is contained in:
候学杰 2018-02-05 19:55:31 +08:00
parent dba07ef64b
commit 07f84e259a

View File

@ -80,7 +80,7 @@ class Authenticate
$match = [];
foreach ($user['roles'] as $role) {
if (array_key_exists($role, $privileges)) {
$match += $privileges[$role];
$match = array_merge($match,$privileges[$role]);
}
}