seven 16 小时之前
父节点
当前提交
406852b464
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Services/BetService.php

+ 1 - 1
app/Services/BetService.php

@@ -368,7 +368,7 @@ class BetService extends BaseService
             $text .= "期数:{$v->issue_no} \n";
             $text .= "内容:{$v->keywords} \n";
             $text .= "金额:{$v->amount} \n";
-            $text .= "盈亏:{$v->profit} \n";
+            $text .= "盈亏:{($v->profit - $v->amount)} \n";
         }
 
         $msg['text'] = $text;