From 0cfd3bc5f5d10191550cf0315bccc4516227db7d Mon Sep 17 00:00:00 2001 From: linyaostalker <602604991@qq.com> Date: Thu, 5 Dec 2019 13:58:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A8=A1=E5=9D=97=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/config/main.php | 8 +++++++- backend/views/layouts/sidebar.php | 6 +++--- 2 files changed, 10 insertions(+), 4 deletions(-) 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']], ] ],