From 26fa3b6da0d1ecb9e8a4f8923e180eccbcac1895 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Thu, 25 Feb 2021 10:00:22 +0800 Subject: [PATCH] Update Config.php --- app/data/controller/Config.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/app/data/controller/Config.php b/app/data/controller/Config.php index cac7545e8..3ba5bc03c 100644 --- a/app/data/controller/Config.php +++ b/app/data/controller/Config.php @@ -59,6 +59,21 @@ class Config extends Controller $this->__sysdata('page_form', 'javascript:history.back()'); } + /** + * 首页推荐位管理 + * @menu true + * @auth true + * @throws \think\db\exception\DataNotFoundException + * @throws \think\db\exception\DbException + * @throws \think\db\exception\ModelNotFoundException + */ + public function iconHome() + { + $this->skey = 'IconHome'; + $this->title = '首页推荐位管理'; + $this->__sysdata('slider'); + } + /** * 首页轮播图片 * @menu true