feat(admin-dashboard): recent platform orders show merchant and plan meta

This commit is contained in:
萝卜
2026-03-16 16:19:36 +08:00
parent c8496defb2
commit 98004a0a1c
3 changed files with 75 additions and 1 deletions

View File

@@ -192,6 +192,7 @@ class DashboardController extends Controller
}
$recentPlatformOrders = PlatformOrder::query()
->with(['merchant', 'plan'])
->orderByDesc('id')
->limit(5)
->get();