seven 1 tháng trước cách đây
mục cha
commit
5c57d2084e
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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['issue_no']."--".$v['keywords'].rtrim(rtrim(number_format($v['amount'], 2, '.', ''), '0'), '.')."--".rtrim(rtrim(number_format($v['profit'], 2, '.', ''), '0'), '.')."\n";
             $text .= $item;
         }
         // $text .= "```\n";