From 39b7bf18b025a193482fccb74dd8dd849fca9c3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Tue, 21 Feb 2017 11:54:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=8F=92=E4=BB=B6=E6=A8=A1?= =?UTF-8?q?=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/admin/controller/Plugs.php | 42 ++++++++++++++++++++++++ application/admin/view/plugs.icon.html | 16 +++++++++ application/admin/view/plugs.upfile.html | 16 +++++++++ 3 files changed, 74 insertions(+) create mode 100644 application/admin/controller/Plugs.php create mode 100644 application/admin/view/plugs.icon.html create mode 100644 application/admin/view/plugs.upfile.html diff --git a/application/admin/controller/Plugs.php b/application/admin/controller/Plugs.php new file mode 100644 index 000000000..d0a8e880a --- /dev/null +++ b/application/admin/controller/Plugs.php @@ -0,0 +1,42 @@ + + * @date 2017/02/21 + */ +class Plugs extends BasicAdmin { + + /** + * 默认检查用户登录状态 + * @var bool + */ + protected $checkLogin = false; + + /** + * 默认检查节点访问权限 + * @var bool + */ + protected $checkAuth = false; + + /** + * 文件上传 + */ + public function upfile() { + return view(); + } + + /** + * 字体图标 + */ + public function icon() { + return view(); + } + +} diff --git a/application/admin/view/plugs.icon.html b/application/admin/view/plugs.icon.html new file mode 100644 index 000000000..c627c249c --- /dev/null +++ b/application/admin/view/plugs.icon.html @@ -0,0 +1,16 @@ + + + + + TODO supply a title + + + + +
TODO write content
+ + diff --git a/application/admin/view/plugs.upfile.html b/application/admin/view/plugs.upfile.html new file mode 100644 index 000000000..c627c249c --- /dev/null +++ b/application/admin/view/plugs.upfile.html @@ -0,0 +1,16 @@ + + + + + TODO supply a title + + + + +
TODO write content
+ +