lip hace 2 semanas
padre
commit
b290b7da01
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Services/BetService.php

+ 1 - 1
app/Services/BetService.php

@@ -837,7 +837,7 @@ class BetService extends BaseService
                 $item = [];
                 $item['id'] = $value['id'];
                 $item['lottery_status'] = self::model()::STATUS_LOSS;//未中奖
-                $item['profit_and_loss'] = -$value['amount'];
+                $item['profit_and_loss'] = -$v['amount'];
 
                 if (in_array($number, $awards)) {
                     $amount = $v['amount'];