From d04fe171037c240108e92c9926a8aaac7bb624b8 Mon Sep 17 00:00:00 2001 From: sven <121642038@qq.com> Date: Tue, 6 Jul 2021 16:43:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96document?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/ctrl/BaseCtrl.php | 1 - app/ctrl/admin/System.php | 13 + .../twig/admin/common_system_left_nav.twig | 1 + .../twig/admin/system/system_company.twig | 248 ++++++++++++++++++ plugin/document/KodSdk.php | 10 + plugin/document/index.php | 2 +- .../data/system/backup/last/system_member.php | 30 ++- resource/bt/config.bt.yml | 2 +- 8 files changed, 298 insertions(+), 9 deletions(-) create mode 100644 app/view/twig/admin/system/system_company.twig diff --git a/app/ctrl/BaseCtrl.php b/app/ctrl/BaseCtrl.php index b442361f5..c76b3a81d 100644 --- a/app/ctrl/BaseCtrl.php +++ b/app/ctrl/BaseCtrl.php @@ -616,7 +616,6 @@ public function loadPlugin() $plugins[] = $tmp; } } - if ($plugins) { foreach ($plugins as $plugin) { $pluginName = $plugin['name']; diff --git a/app/ctrl/admin/System.php b/app/ctrl/admin/System.php index 0676d6d05..d171a1dc3 100644 --- a/app/ctrl/admin/System.php +++ b/app/ctrl/admin/System.php @@ -66,6 +66,19 @@ public function pageIndex() $this->render('twig/admin/system/system_basic_setting.twig', $data); } + /** + * @throws \Exception + */ + public function pageCompanySetting() + { + $data = []; + $data['title'] = 'System'; + $data['nav_links_active'] = 'system'; + $data['sub_nav_active'] = 'setting'; + $data['left_nav_active'] = 'company_setting'; + $this->render('twig/admin/system/system_company.twig', $data); + } + /** * @throws \Exception */ diff --git a/app/view/twig/admin/common_system_left_nav.twig b/app/view/twig/admin/common_system_left_nav.twig index e90de3ba2..c6436f50a 100644 --- a/app/view/twig/admin/common_system_left_nav.twig +++ b/app/view/twig/admin/common_system_left_nav.twig @@ -15,6 +15,7 @@