Pārlūkot izejas kodu

wesmiler 报恩寺项目提交

wesmiler 4 gadi atpakaļ
vecāks
revīzija
0ba96dddbc
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      app/Services/TradeService.php

+ 2 - 2
app/Services/TradeService.php

@@ -198,14 +198,14 @@ class TradeService extends BaseService
             ->groupBy('a.change_type')
             ->groupBy('a.change_type')
             ->sum('a.money');
             ->sum('a.money');
 
 
-        $counts = $counts? $counts : [0,0,0];
+        /*$counts = $counts? $counts : [0,0,0];
         $count1 = isset($counts[0])? $counts[0] : 0;
         $count1 = isset($counts[0])? $counts[0] : 0;
         $count2 = isset($counts[1])? $counts[1] : 0;
         $count2 = isset($counts[1])? $counts[1] : 0;
         if($counts){
         if($counts){
             $counts[2] = moneyFormat($count1-$count2);
             $counts[2] = moneyFormat($count1-$count2);
         }else{
         }else{
             $counts = [0,0,0];
             $counts = [0,0,0];
-        }
+        }*/
         return $counts;
         return $counts;
     }
     }