seven 2 settimane fa
parent
commit
7cc2a7b078
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      app/Services/BetService.php

+ 2 - 1
app/Services/BetService.php

@@ -1014,7 +1014,8 @@ class BetService extends BaseService
         $text = $issue_no . "期开奖结果 \n";
         $text .= "-----本期开奖账单----- \n";
         foreach($openList as $k => $v){
-            $amount = $v['amount'];
+            $amount = number_format($v['amount'],2);
+            $v['win_amount'] = number_format($v['win_amount'],2);
                 $profit = number_format($v['profit'],2);
                 $yl = bcsub($v['profit'], $v['amount'], 2); // 盈利
                 if(($k+1) <= $noticeNum){