mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 09:39:10 +08:00
update: fix order service
This commit is contained in:
parent
db563062e5
commit
ad619b6a3a
@ -190,6 +190,7 @@ class OrderService
|
|||||||
->where('period', '!=', 'reset_price')
|
->where('period', '!=', 'reset_price')
|
||||||
->where('status', 3);
|
->where('status', 3);
|
||||||
$orders = $orderModel->get();
|
$orders = $orderModel->get();
|
||||||
|
if (!$orders) return;
|
||||||
$orderAmountSum = 0;
|
$orderAmountSum = 0;
|
||||||
$orderMonthSum = 0;
|
$orderMonthSum = 0;
|
||||||
foreach ($orders as $k => $item) {
|
foreach ($orders as $k => $item) {
|
||||||
|
Loading…
Reference in New Issue
Block a user