seven il y a 2 mois
Parent
commit
456e3f2cfe
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      app/Services/BetService.php

+ 2 - 0
app/Services/BetService.php

@@ -665,6 +665,8 @@ class BetService extends BaseService
                     $text .= "{$v['keywords']} 【" . $lastStr . "】 {$v['amount']} {$profit} {$yl}\n";
                     $text .= "{$v['keywords']} 【" . $lastStr . "】 {$v['amount']} {$profit} {$yl}\n";
                 }
                 }
             } else {
             } else {
+                $v['amount'] = number_format($v['amount'],2);
+
                 if ($k + 1 <= $rand_num) {
                 if ($k + 1 <= $rand_num) {
                     $text .= "---- 【" . $lastStr . "】 {$v['amount']} {$v['profit']} -{$v['amount']}\n";
                     $text .= "---- 【" . $lastStr . "】 {$v['amount']} {$v['profit']} -{$v['amount']}\n";
                 }
                 }