This commit is contained in:
root
2025-09-17 10:49:52 +08:00
parent d97c112555
commit 8f8d07044b
2 changed files with 6 additions and 3 deletions
+2 -1
View File
@@ -6,4 +6,5 @@
.env
/tests/tmp
/tests/.phpunit.result.cache
/public/uploads
/public/uploads
/webman
+4 -2
View File
@@ -148,8 +148,10 @@ class IndexController
public function test(Request $request)
{
// 菜单迁移
$where[] = ['id', '>', 141];
$list = (new \app\common\utils\MigrationResources())->do('resources_20250916_bak', 'resources_yuanshi', $where);
// $where[] = ['id', '>', 141];
// $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);
}
}