mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
51 lines
925 B
PHP
51 lines
925 B
PHP
<?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() {
|
|
$this->assign('field', $this->request->get('field', 'file'));
|
|
$this->assign('types', '');
|
|
$this->assign('mimes', '');
|
|
$this->assign('uptype', '');
|
|
return view();
|
|
}
|
|
|
|
public function upload(){
|
|
|
|
}
|
|
|
|
/**
|
|
* 字体图标
|
|
*/
|
|
public function icon() {
|
|
return view();
|
|
}
|
|
|
|
}
|