seven hai 1 mes
pai
achega
f37e3cc7db
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      app/Services/BetService.php

+ 2 - 2
app/Services/BetService.php

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