mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
添加插件模块
This commit is contained in:
parent
30889e368b
commit
39b7bf18b0
application/admin
42
application/admin/controller/Plugs.php
Normal file
42
application/admin/controller/Plugs.php
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace app\admin\controller;
|
||||||
|
|
||||||
|
use controller\BasicAdmin;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 插件助手控制器
|
||||||
|
* Class Plugs
|
||||||
|
* @package app\admin\controller
|
||||||
|
* @author Anyon <zoujingli@qq.com>
|
||||||
|
* @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();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
16
application/admin/view/plugs.icon.html
Normal file
16
application/admin/view/plugs.icon.html
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<!--
|
||||||
|
To change this license header, choose License Headers in Project Properties.
|
||||||
|
To change this template file, choose Tools | Templates
|
||||||
|
and open the template in the editor.
|
||||||
|
-->
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>TODO supply a title</title>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div>TODO write content</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
16
application/admin/view/plugs.upfile.html
Normal file
16
application/admin/view/plugs.upfile.html
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<!--
|
||||||
|
To change this license header, choose License Headers in Project Properties.
|
||||||
|
To change this template file, choose Tools | Templates
|
||||||
|
and open the template in the editor.
|
||||||
|
-->
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>TODO supply a title</title>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div>TODO write content</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
x
Reference in New Issue
Block a user