Przeglądaj źródła

wesmiler 报恩寺项目提交

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

+ 1 - 1
app/Services/TradeService.php

@@ -233,7 +233,7 @@ class TradeService extends BaseService
         $count2 = isset($countData[1]['total'])? $countData[1]['total'] : 0;
         if($counts){
             $counts[0] = $count1;
-            $counts[1] = $count2;
+            $counts[1] = -$count2;
             $counts[2] = moneyFormat($count1-$count2);
         }else{
             $counts = [0,0,0];