seven 3 일 전
부모
커밋
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";