Просмотр исходного кода

wesmiler 报恩寺项目提交

wesmiler 4 лет назад
Родитель
Сommit
d2e82a848d
1 измененных файлов с 1 добавлено и 1 удалено
  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];