Browse Source

控制台

gorden 7 months ago
parent
commit
a06baeabd7
1 changed files with 1 additions and 0 deletions
  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')