mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update Update.php
This commit is contained in:
parent
cd174ad1b7
commit
ec1f94baa2
@ -25,17 +25,6 @@ use think\admin\service\InstallService;
|
||||
*/
|
||||
class Update extends Controller
|
||||
{
|
||||
|
||||
/**
|
||||
* 获取文件列表
|
||||
*/
|
||||
public function tree()
|
||||
{
|
||||
$this->rules = unserialize($this->request->post('rules', 'a:0:{}', ''));
|
||||
$this->ignore = unserialize($this->request->post('ignore', 'a:0:{}', ''));
|
||||
$this->success('获取文件列表成功!', InstallService::instance()->getList($this->rules, $this->ignore));
|
||||
}
|
||||
|
||||
/**
|
||||
* 读取文件内容
|
||||
*/
|
||||
@ -51,4 +40,14 @@ class Update extends Controller
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取文件列表
|
||||
*/
|
||||
public function tree()
|
||||
{
|
||||
$this->rules = unserialize($this->request->post('rules', 'a:0:{}', ''));
|
||||
$this->ignore = unserialize($this->request->post('ignore', 'a:0:{}', ''));
|
||||
$this->success('获取文件列表成功!', InstallService::instance()->getList($this->rules, $this->ignore));
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user