diff --git a/backend/config/main.php b/backend/config/main.php index 62e4ad3..8e51f90 100644 --- a/backend/config/main.php +++ b/backend/config/main.php @@ -11,7 +11,13 @@ return [ 'bootstrap' => ['log'], 'modules' => [ 'goods' => [ - 'class' => 'goods\Module', + 'class' => '\backend\modules\goods\Module', + ], + 'file' => [ + 'class' => '\backend\modules\file\Module', + ], + 'shop' => [ + 'class' => '\backend\modules\shop\Module', ], ], 'components' => [ diff --git a/backend/views/layouts/sidebar.php b/backend/views/layouts/sidebar.php index 31e09b2..a137e31 100755 --- a/backend/views/layouts/sidebar.php +++ b/backend/views/layouts/sidebar.php @@ -30,12 +30,12 @@ use iron\widgets\Menu; ] ], ['label' => '订单管理', 'url' => '#', 'icon' => 'far fa-list-alt', 'items' => [ - ['label' => '订单列表', 'url' => ['/order/index', 'tag' => 'new']], + ['label' => '订单列表', 'url' => ['/shop/order/index', 'tag' => 'new']], ], ], ['label' => '配送服务', 'url' => '#', 'icon' => 'far fa-shipping-fast', 'items' => [ - ['label' => '上门自提', 'url' => ['/taking-site/index']], - ['label' => '运费模板', 'url' => ['/express-template/index']], + ['label' => '上门自提', 'url' => ['/shop/taking-site/index']], + ['label' => '运费模板', 'url' => ['/shop/express-template/index']], ] ],