商户后台

This commit is contained in:
liu
2026-06-17 12:41:49 +08:00
parent 845bea4b81
commit f63a7db58f
46 changed files with 2215 additions and 43 deletions
+2 -1
View File
@@ -108,9 +108,10 @@ class RouteRegisterService
} else {
$authMiddleware[] = 'authGuard';
}
if (is_string($authorize) && !empty($abilitiesPrefix)) {
$authMiddleware[] = 'abilities:' . $abilitiesPrefix . '.' . $authorize;
} else {
} else if ($authorize !== true) {
$authMiddleware[] = 'abilities:' . $authorize;
}
}