ts
This commit is contained in:
@@ -7,3 +7,4 @@
|
|||||||
/tests/tmp
|
/tests/tmp
|
||||||
/tests/.phpunit.result.cache
|
/tests/.phpunit.result.cache
|
||||||
/public/uploads
|
/public/uploads
|
||||||
|
/webman
|
||||||
@@ -148,8 +148,10 @@ class IndexController
|
|||||||
public function test(Request $request)
|
public function test(Request $request)
|
||||||
{
|
{
|
||||||
// 菜单迁移
|
// 菜单迁移
|
||||||
$where[] = ['id', '>', 141];
|
// $where[] = ['id', '>', 141];
|
||||||
$list = (new \app\common\utils\MigrationResources())->do('resources_20250916_bak', 'resources_yuanshi', $where);
|
// $list = (new \app\common\utils\MigrationResources())->do('resources_20250916_bak', 'resources_yuanshi', $where);
|
||||||
|
|
||||||
|
$list = (new \app\common\utils\MigrationResources())->getFullResourceTreeOptimized('resources_20250916_bak', []);
|
||||||
|
var_dump($list);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user