mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-05-20 22:09:15 +08:00
Update Update.php
This commit is contained in:
parent
75b0faba78
commit
3523af18b2
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
namespace app\admin\controller\api;
|
namespace app\admin\controller\api;
|
||||||
|
|
||||||
use library\command\Sync as UpdateLogic;
|
use library\command\Sync;
|
||||||
use library\Controller;
|
use library\Controller;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -35,7 +35,8 @@ class Update extends Controller
|
|||||||
*/
|
*/
|
||||||
public function tree()
|
public function tree()
|
||||||
{
|
{
|
||||||
$this->success('获取当前文件列表成功!', UpdateLogic::build());
|
$sync = new Sync();
|
||||||
|
$this->success('获取当前文件列表成功!', $sync->build());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -52,4 +53,4 @@ class Update extends Controller
|
|||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user