seven 1 일 전
부모
커밋
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;