Dashboard: reduce recent platform orders to 2

This commit is contained in:
萝卜
2026-03-18 08:26:46 +08:00
parent bd565ad404
commit 940f329684

View File

@@ -236,7 +236,7 @@ class DashboardController extends Controller
$recentPlatformOrders = PlatformOrder::query() $recentPlatformOrders = PlatformOrder::query()
->with(['merchant', 'plan']) ->with(['merchant', 'plan'])
->orderByDesc('id') ->orderByDesc('id')
->limit(5) ->limit(2)
->get(); ->get();
// 占比卡(最小可用):近 7 天按套餐统计平台订单数量 TopN // 占比卡(最小可用):近 7 天按套餐统计平台订单数量 TopN