seven 1 天之前
父节点
当前提交
ab4dcff7da
共有 1 个文件被更改,包括 2 次插入1 次删除
  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;