#238 Data format transfer changed

This commit is contained in:
Anyon 2020-06-16 16:01:58 +08:00
parent 6ccd4055fc
commit 640a61ae07

View File

@ -38,13 +38,13 @@ class Update extends Controller
}
/**
* 取文件列表
* 取文件列表
*/
public function tree()
public function node()
{
$this->success('获取文件列表成功!', InstallService::instance()->getList(
unserialize($this->request->post('rules', 'a:0:{}', ''), ['allowed_classes' => false]),
unserialize($this->request->post('ignore', 'a:0:{}', ''), ['allowed_classes' => false])
json_decode($this->request->post('rules', '[]', ''), true),
json_decode($this->request->post('ignore', '[]', ''), true)
));
}