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;
|
||||
|
||||
use library\command\Sync as UpdateLogic;
|
||||
use library\command\Sync;
|
||||
use library\Controller;
|
||||
|
||||
/**
|
||||
@ -35,7 +35,8 @@ class Update extends Controller
|
||||
*/
|
||||
public function tree()
|
||||
{
|
||||
$this->success('获取当前文件列表成功!', UpdateLogic::build());
|
||||
$sync = new Sync();
|
||||
$this->success('获取当前文件列表成功!', $sync->build());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user