seven 1 napja
szülő
commit
406852b464
1 módosított fájl, 1 hozzáadás és 1 törlés
  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;