From 8f8d07044b5b2d4d074e62b13769a1e7825a3d83 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 17 Sep 2025 10:49:52 +0800 Subject: [PATCH] ts --- .gitignore | 3 ++- app/controller/IndexController.php | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 496f0a0..fa572a1 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ .env /tests/tmp /tests/.phpunit.result.cache -/public/uploads \ No newline at end of file +/public/uploads +/webman \ No newline at end of file diff --git a/app/controller/IndexController.php b/app/controller/IndexController.php index a05463a..1b8c83e 100644 --- a/app/controller/IndexController.php +++ b/app/controller/IndexController.php @@ -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); } } \ No newline at end of file