From 3807c03ef363ec05b6ec9ea5d63b3b778c3e3abf Mon Sep 17 00:00:00 2001 From: wangxinglong <2371974647@qq.com> Date: Fri, 27 May 2022 17:53:06 +0800 Subject: [PATCH] setter --- app/repository/OrderRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/repository/OrderRepository.php b/app/repository/OrderRepository.php index 0c5cb7b..56b63e8 100644 --- a/app/repository/OrderRepository.php +++ b/app/repository/OrderRepository.php @@ -1092,7 +1092,7 @@ class OrderRepository extends Repository */ public function orderCount(int $accountId): array { - $statusList = ['waiting', 'paid', 'shipped', 'completed']; + $statusList = ['order_placed', 'makeing', 'shipped']; $data = Order::where('account_id', $accountId) ->whereIn('status', $statusList) ->group('status')