From bd7e5b899ff5a1f8c9d1323c093f1b1fba244fe5 Mon Sep 17 00:00:00 2001 From: panliang <1163816051@qq.com> Date: Sat, 7 May 2022 13:18:02 +0800 Subject: [PATCH] routes --- app/Admin/routes.php | 2 ++ resources/lang/zh_CN/store.php | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 resources/lang/zh_CN/store.php diff --git a/app/Admin/routes.php b/app/Admin/routes.php index d803e591..96bcf620 100644 --- a/app/Admin/routes.php +++ b/app/Admin/routes.php @@ -175,4 +175,6 @@ Route::group([ /** 调试接口 **/ // $router->get('test', 'HomeController@test'); + + $router->resource('store', 'StoreController'); }); diff --git a/resources/lang/zh_CN/store.php b/resources/lang/zh_CN/store.php new file mode 100644 index 00000000..3a3b1ece --- /dev/null +++ b/resources/lang/zh_CN/store.php @@ -0,0 +1,16 @@ + [ + 'Store' => '门店管理', + 'store' => '门店管理', + ], + 'fields' => [ + 'title' => '名称', + 'image' => '封面图', + 'sort' => '排序', + 'status' => '状态' + ], + 'options' => [ + ], +];