Przeglądaj źródła

wesmiler 报恩寺项目提交

wesmiler 4 lat temu
rodzic
commit
543ab4c842
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      app/Services/TradeService.php

+ 1 - 1
app/Services/TradeService.php

@@ -126,6 +126,7 @@ class TradeService extends BaseService
             'msg' => '操作成功',
             'count' => isset($dataList['total']) ? $dataList['total'] : 0,
             'counts'=> [
+                'totals'=> $counts,
                 'total'=> $counts[0],
                 'totalInc'=> $counts[1],
                 'totalDesc'=> $counts[2],
@@ -191,7 +192,6 @@ class TradeService extends BaseService
                 } else {
                     $query->whereIn('a.status', [1, 2, 3]);
                 }
-
             })
             ->orderBy('a.create_time','desc')
             ->groupBy('a.change_type')