diff --git a/application/admin/controller/api/Update.php b/application/admin/controller/api/Update.php index 5a7e8a301..aa10578e0 100644 --- a/application/admin/controller/api/Update.php +++ b/application/admin/controller/api/Update.php @@ -35,7 +35,7 @@ class Update extends Controller */ public function tree() { - $sync = new Sync(); + $sync = new Sync('Sync'); $this->success('获取当前文件列表成功!', $sync->build()); }