0
点赞
收藏
分享

微信扫一扫

Dcat admin修改后台访问地址


打开配置文件:
textlaravel.cc\laravel5\config\admin.php

修改路由前缀:'prefix' => env('ADMIN_ROUTE_PREFIX', 'willem'),

/*
  |--------------------------------------------------------------------------
  | dcat-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' => [
      'domain' => env('ADMIN_ROUTE_DOMAIN'),

      'prefix' => env('ADMIN_ROUTE_PREFIX', 'willem'),

      'namespace' => 'App\\Admin\\Controllers',

      'middleware' => ['web', 'admin'],

      'enable_session_middleware' => false,
  ],

访问地址:

Dcat admin修改后台访问地址_App


举报

相关推荐

0 条评论