|
@@ -260,59 +260,12 @@ return [
|
|
'menu_model' => Dcat\Admin\Models\Menu::class,
|
|
'menu_model' => Dcat\Admin\Models\Menu::class,
|
|
|
|
|
|
// Pivot table for table above.
|
|
// Pivot table for table above.
|
|
- 'operation_log_table' => 'admin_operation_log',
|
|
|
|
'role_users_table' => 'admin_role_users',
|
|
'role_users_table' => 'admin_role_users',
|
|
'role_permissions_table' => 'admin_role_permissions',
|
|
'role_permissions_table' => 'admin_role_permissions',
|
|
'role_menu_table' => 'admin_role_menu',
|
|
'role_menu_table' => 'admin_role_menu',
|
|
'permission_menu_table' => 'admin_permission_menu',
|
|
'permission_menu_table' => 'admin_permission_menu',
|
|
],
|
|
],
|
|
|
|
|
|
- /*
|
|
|
|
- |--------------------------------------------------------------------------
|
|
|
|
- | User operation log setting
|
|
|
|
- |--------------------------------------------------------------------------
|
|
|
|
- |
|
|
|
|
- | By setting this option to open or close operation log in dcat-admin.
|
|
|
|
- |
|
|
|
|
- */
|
|
|
|
- 'operation_log' => [
|
|
|
|
-
|
|
|
|
- 'enable' => true,
|
|
|
|
-
|
|
|
|
- // Only logging allowed methods in the list
|
|
|
|
- 'allowed_methods' => ['GET', 'HEAD', 'POST', 'PUT', 'DELETE', 'CONNECT', 'OPTIONS', 'TRACE', 'PATCH'],
|
|
|
|
-
|
|
|
|
- 'secret_fields' => [
|
|
|
|
- 'password',
|
|
|
|
- 'password_confirmation',
|
|
|
|
- ],
|
|
|
|
-
|
|
|
|
- // Routes that will not log to database.
|
|
|
|
- // All method to path like: auth/logs/*/edit
|
|
|
|
- // or specific method to path like: get:auth/logs.
|
|
|
|
- 'except' => [
|
|
|
|
- 'auth/logs*',
|
|
|
|
- ],
|
|
|
|
- ],
|
|
|
|
-
|
|
|
|
- /*
|
|
|
|
- |--------------------------------------------------------------------------
|
|
|
|
- | Admin map field provider
|
|
|
|
- |--------------------------------------------------------------------------
|
|
|
|
- |
|
|
|
|
- | Supported: "tencent", "google", "yandex", "baidu".
|
|
|
|
- |
|
|
|
|
- */
|
|
|
|
- 'map' => [
|
|
|
|
- 'provider' => 'baidu',
|
|
|
|
-
|
|
|
|
- 'keys' => [
|
|
|
|
- 'tencent' => env('TENCENT_MAP_API_KEY'),
|
|
|
|
- 'google' => env('GOOGLE_API_KEY'),
|
|
|
|
- 'baidu' => env('BAIDU_MAP_API_KEY'),
|
|
|
|
- ],
|
|
|
|
- ],
|
|
|
|
-
|
|
|
|
/*
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
|--------------------------------------------------------------------------
|
|
| Application layout
|
|
| Application layout
|
|
@@ -363,17 +316,4 @@ return [
|
|
| the extension files will be generated in this directory.
|
|
| the extension files will be generated in this directory.
|
|
*/
|
|
*/
|
|
'extension_dir' => app_path('Admin/Extensions'),
|
|
'extension_dir' => app_path('Admin/Extensions'),
|
|
-
|
|
|
|
- /*
|
|
|
|
- |--------------------------------------------------------------------------
|
|
|
|
- | Settings for extensions.
|
|
|
|
- |--------------------------------------------------------------------------
|
|
|
|
- |
|
|
|
|
- | You can find all available extensions here
|
|
|
|
- | https://github.com/dcat-admin-extensions.
|
|
|
|
- |
|
|
|
|
- */
|
|
|
|
- 'extensions' => [
|
|
|
|
-
|
|
|
|
- ],
|
|
|
|
];
|
|
];
|