商户后台

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
@@ -167,8 +167,8 @@ class GenerateRouteHelperCommand extends Command
if (is_string($authorize) && !empty($abilitiesPrefix)) {
$authMiddleware[] = 'abilities:' . $abilitiesPrefix . '.' . $authorize;
} else {
$authMiddleware[] = 'abilities:' . (is_string($authorize) ? $authorize : '');
} else if($authorize !== true) {
$authMiddleware[] = 'abilities:' . $authorize;
}
return $authMiddleware;