| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337 | <?phpreturn [    /*    |--------------------------------------------------------------------------    | Laravel-admin name    |--------------------------------------------------------------------------    |    | This value is the name of laravel-admin, This setting is displayed on the    | login page.    |    */    'name' => '后台管理',    /*    |--------------------------------------------------------------------------    | Laravel-admin logo    |--------------------------------------------------------------------------    |    | The logo of all admin pages. You can also set it as an image by using a    | `img` tag, eg '<img src="http://logo-url" alt="Admin logo">'.    |    */    'logo' => '<b>后台管理</b>',    /*    |--------------------------------------------------------------------------    | Laravel-admin mini logo    |--------------------------------------------------------------------------    |    | The logo of all admin pages when the sidebar menu is collapsed. You can    | also set it as an image by using a `img` tag, eg    | '<img src="http://logo-url" alt="Admin logo">'.    |    */    'logo-mini' => 'Admin',    /*    |--------------------------------------------------------------------------    | Laravel-admin route settings    |--------------------------------------------------------------------------    |    | The routing configuration of the admin page, including the path prefix,    | the controller namespace, and the default middleware. If you want to    | access through the root path, just set the prefix to empty string.    |    */    'route' => [        'prefix' => env('ADMIN_PREFIX', 'ST3IXxKlOa4eGEv0eTw0CfORI9444Mgj'),        'namespace' => 'App\\Admin\\Controllers',        'middleware' => ['web', 'admin']    ],    /*    |--------------------------------------------------------------------------    | Laravel-admin install directory    |--------------------------------------------------------------------------    |    | The installation directory of the controller and routing configuration    | files of the administration page. The default is `app/Admin`, which must    | be set before running `artisan admin::install` to take effect.    |    */    'directory' => app_path('Admin'),    /*    |--------------------------------------------------------------------------    | Laravel-admin html title    |--------------------------------------------------------------------------    |    | Html title for all pages.    |    */    'title' => '网站后台',    /*    |--------------------------------------------------------------------------    | Access via `https`    |--------------------------------------------------------------------------    |    | If your page is going to be accessed via https, set it to `true`.    |    */    'https' => env('ADMIN_HTTPS', true),    /*    |--------------------------------------------------------------------------    | Laravel-admin auth setting    |--------------------------------------------------------------------------    |    | Authentication settings for all admin pages. Include an authentication    | guard and a user provider setting of authentication driver.    |    */    'auth' => [        'guards' => [            'admin' => [                'driver'   => 'session',                'provider' => 'admin',            ],        ],        'providers' => [            'admin' => [                'driver' => 'eloquent',                'model'  => Encore\Admin\Auth\Database\Administrator::class,            ],        ],    ],    /*    |--------------------------------------------------------------------------    | Laravel-admin upload setting    |--------------------------------------------------------------------------    |    | File system configuration for form upload files and images, including    | disk and upload path.    |    */    'upload' => [        // Disk in `config/filesystem.php`.        'disk' => 'admin',        // Image and file upload path under the disk above.        'directory' => [            'image' => 'admin/images',            'file'  => 'admin/files',        ],    ],    /*    |--------------------------------------------------------------------------    | Laravel-admin database settings    |--------------------------------------------------------------------------    |    | Here are database settings for laravel-admin builtin model & tables.    |    */    'database' => [        // Database connection for following tables.        'connection' => '',        // User tables and model.        'users_table' => 'admin_users',        'users_model' => Encore\Admin\Auth\Database\Administrator::class,        // Role table and model.        'roles_table' => 'admin_roles',        'roles_model' => Encore\Admin\Auth\Database\Role::class,        // Permission table and model.        'permissions_table' => 'admin_permissions',        'permissions_model' => \App\Models\Admin\AdminPermission::class,        // Menu table and model.        'menu_table' => 'admin_menu',        'menu_model' => App\Models\Admin\AdminMenu::class,        // Pivot table for table above.        'operation_log_table'    => 'admin_operation_log',        'user_permissions_table' => 'admin_user_permissions',        'role_users_table'       => 'admin_role_users',        'role_permissions_table' => 'admin_role_permissions',    ],    /*    |--------------------------------------------------------------------------    | User operation log setting    |--------------------------------------------------------------------------    |    | By setting this option to open or close operation log in laravel-admin.    |    */    'operation_log' => [        'enable' => true,        /*         * Only logging allowed methods in the list         */        'allowed_methods' => ['GET', 'HEAD', 'POST', 'PUT', 'DELETE', 'CONNECT', 'OPTIONS', 'TRACE', 'PATCH'],        /*         * Routes that will not log to database.         *         * All method to path like: admin/auth/logs         * or specific method to path like: get:admin/auth/logs.         */        'except' => [            'auth/logs*',            'home/message*',            'home/ajax*',            'company.sendsms*',            'company.sendemail*',            'company.sendsys*',            'audit.password*',            'consultant.set*',            'ajax.getinfo*',            'ajax/getpromotion*',            'ajax/getresume*',            'jobfairjobs.auditjobs',            'jobfair.company.audit',            'blacklist.delete',            'jobfairoutjobs.auditjobs',            'jobfairout.company.audit',                        'personal/sendSms',            'personal/sendEmail',            'personal/sendSys',            'personal/auditResume',            'personal/auditPassword',            'personal/userTab*',            'personal/delete/ima',            'personal/auditImg',            'personal/auditPhoto',            'personal/service*',            'sys/district*',            'sys/categoryJobs*',            'sys/category/categoryDis',            'sys/category/trade',            'sys/page/index/release',            'sys/page/index/caching',            'sys/page/getTag',            'sys/email/test',            'sys/sms/test',        ],    ],    /*    |--------------------------------------------------------------------------    | Admin map field provider    |--------------------------------------------------------------------------    |    | Supported: "tencent", "google", "yandex".    |    */    'map_provider' => 'google',    /*    |--------------------------------------------------------------------------    | Application Skin    |--------------------------------------------------------------------------    |    | This value is the skin of admin pages.    | @see https://adminlte.io/docs/2.4/skin    |    | Supported:    |    "skin-blue", "skin-blue-light", "skin-yellow", "skin-yellow-light",    |    "skin-green", "skin-green-light", "skin-purple", "skin-purple-light",    |    "skin-red", "skin-red-light", "skin-black", "skin-black-light".    |    */    'skin' => 'skin-blue-light',    /*    |--------------------------------------------------------------------------    | Application layout    |--------------------------------------------------------------------------    |    | This value is the layout of admin pages.    | @see https://adminlte.io/docs/2.4/layout    |    | Supported: "fixed", "layout-boxed", "layout-top-nav", "sidebar-collapse",    | "sidebar-mini".    |    */    'layout' => ['sidebar-mini'],    /*    |--------------------------------------------------------------------------    | Login page background image    |--------------------------------------------------------------------------    |    | This value is used to set the background image of login page.    |    */    'login_background_image' => '',    /*    |--------------------------------------------------------------------------    | Show version at footer    |--------------------------------------------------------------------------    |    | Whether to display the version number of laravel-admim at the footer of    | each page    |    */    'show_version' => false,    /*    |--------------------------------------------------------------------------    | Show environment at footer    |--------------------------------------------------------------------------    |    | Whether to display the environment at the footer of each page    |    */    'show_environment' => false,    /*    |--------------------------------------------------------------------------    | Extension Directory    |--------------------------------------------------------------------------    |    | When you use command `php artisan admin:extend` to generate extensions,    | the extension files will be generated in this directory.    */    'extension_dir' => app_path('Admin/Extensions'),    /*    |--------------------------------------------------------------------------    | Settings for extensions.    |--------------------------------------------------------------------------    |    | You can find all available extensions here    | https://github.com/laravel-admin-extensions.    |    */    'extensions' => [        'ueditor' => [            // 如果要关掉这个扩展,设置为false            'enable' => true,            // 编辑器的前端配置 参考:http://fex.baidu.com/ueditor/#start-config            'config' => [                'initialFrameHeight' => 400, // 例如初始化高度            ],            'field_type' => 'editor'        ]    ],];
 |