diff --git a/app/Endpoint/Api/Http/Controllers/Order/StatisticsController.php b/app/Endpoint/Api/Http/Controllers/Order/StatisticsController.php index fd363abd..5ba8c34f 100644 --- a/app/Endpoint/Api/Http/Controllers/Order/StatisticsController.php +++ b/app/Endpoint/Api/Http/Controllers/Order/StatisticsController.php @@ -27,7 +27,7 @@ class StatisticsController extends Controller // 待付款订单数 'pending_orders_count' => $statistics->get(Order::STATUS_PENDING, 0), // 待收货订单数 - 'unreceived_orders_count' => $statistics->get(Order::STATUS_PAID, 0) + $statistics->get(Order::STATUS_SHIPPED, 0), + 'unreceived_orders_count' => $statistics->get(Order::STATUS_PAID, 0), ]); } }