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

+ 2 - 2
app/Services/BetService.php

@@ -320,8 +320,8 @@ class BetService extends BaseService
         // $text = "```\n";
         $text = "";
         $text .= "期数 内容 金额 盈亏 \n";
-        foreach($list as $k => $v){
-            // $text .= "{$v->issue_no} {$v->keywords} {$v->amount} {$v->profit} \n";
+        foreach($list->toArray() as $k => $v){
+            $text .= "{$v['issue_no']} {$v['keywords']} {$v['amount']} {$v['profit']} \n";
         }
         // $text .= "```\n";