seven 16 hours ago
parent
commit
ab4dcff7da
1 changed files with 2 additions and 1 deletions
  1. 2 1
      app/Services/BetService.php

+ 2 - 1
app/Services/BetService.php

@@ -364,11 +364,12 @@ class BetService extends BaseService
         $text = "历史注单 \n";
 
         foreach($list as $k => $v){
+            $phase = $v->profit - $v->amount;
             $text .= "-------------------------------------\n";
             $text .= "期数:{$v->issue_no} \n";
             $text .= "内容:{$v->keywords} \n";
             $text .= "金额:{$v->amount} \n";
-            $text .= "盈亏:{($v->profit - $v->amount)} \n";
+            $text .= "盈亏:{$phase} \n";
         }
 
         $msg['text'] = $text;