gorden hai 7 meses
pai
achega
a06baeabd7
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      app/admin/service/statistics/OrderService.php

+ 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')