This commit is contained in:
2022-06-30 14:59:28 +08:00
parent ff775c153f
commit 93e7c6bbaa
3 changed files with 78 additions and 8 deletions

View File

@@ -58,9 +58,9 @@ return [
*/
'route' => [
'prefix' => env('ADMIN_ROUTE_PREFIX', 'admin'),
'prefix' => env('ADMIN_ROUTE_PREFIX', 'admin'),
'namespace' => 'App\\Admin\\Controllers',
'namespace' => 'App\\Admin\\Controllers',
'middleware' => ['web', 'admin'],
],
@@ -110,11 +110,11 @@ return [
*/
'auth' => [
'controller' => App\Admin\Controllers\AuthController::class,
'controller' => App\Admin\Controllers\AuthController::class,
'guard' => 'admin',
'guard' => 'admin',
'guards' => [
'guards' => [
'admin' => [
'driver' => 'session',
'provider' => 'admin',
@@ -405,5 +405,10 @@ return [
],
'field_type' => 'ueditor',
],
'cropper' => [
// 如果要关掉这个扩展设置为false
'enable' => true,
]
],
];