seven пре 2 дана
родитељ
комит
61350ba4fd
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/Services/BetService.php

+ 1 - 1
app/Services/BetService.php

@@ -322,7 +322,7 @@ class BetService extends BaseService
         $text .= " 内容 金额 盈亏 \n";
         foreach($list->toArray() as $k => $v){
             // $text .= $v['issue_no']." ".$v['keywords']." ".$v['amount']." ".$v['profit']."\n";
-            $item = $v['keywords']." ".$v['amount']." ".$v['profit']."\n";
+            $item = $v['keywords']." ".rtrim(rtrim(number_format($v['amount'], 2, '.', ''), '0'), '.')." ".rtrim(rtrim(number_format($v['profit'], 2, '.', ''), '0'), '.')."\n";
             $text .= $item;
         }
         // $text .= "```\n";