gorden 7 mesiacov pred
rodič
commit
a06baeabd7

+ 1 - 0
app/admin/service/statistics/OrderService.php

@@ -20,6 +20,7 @@ class OrderService
 
         $data['todayRevenue'] = PayDetail::whereRaw('CAST(UNIX_TIMESTAMP(pay_paytimes) as SIGNED) > ? ' , [$todayTimeUnix])
             ->where('join_pay_order_id','<>','')
+            ->where('pay_status', 'SUCCESS')
             ->where('pay_category', '<>', 'RETURN')
             ->where('pay_category', '<>', 'RECHARGE')
             ->where('pay_category', '<>', 'CLEAR')