Sfoglia il codice sorgente

wesmiler 报恩寺项目提交

wesmiler 4 anni fa
parent
commit
0ba96dddbc
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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')
             ->sum('a.money');
 
-        $counts = $counts? $counts : [0,0,0];
+        /*$counts = $counts? $counts : [0,0,0];
         $count1 = isset($counts[0])? $counts[0] : 0;
         $count2 = isset($counts[1])? $counts[1] : 0;
         if($counts){
             $counts[2] = moneyFormat($count1-$count2);
         }else{
             $counts = [0,0,0];
-        }
+        }*/
         return $counts;
     }