seven 3 dagar sedan
förälder
incheckning
82b126d397
1 ändrade filer med 2 tillägg och 2 borttagningar
  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";