seven 6 napja
szülő
commit
f8cfcd40ab
1 módosított fájl, 4 hozzáadás és 4 törlés
  1. 4 4
      app/Services/BetService.php

+ 4 - 4
app/Services/BetService.php

@@ -587,7 +587,7 @@ class BetService extends BaseService
                 $yl = $profit - $v['amount'];
                 if ($k + 1 <= $realNoticeNum) {
 
-                    $text .= "私聊下注 【" . $lastStr . "】{$v['amount']} {$profit} {$yl}\n";
+                    $text .= "{$v['keywords']} 【" . $lastStr . "】{$v['amount']} {$profit} {$yl}\n";
                     $bet_num++;
                 }
                 // 结算
@@ -599,7 +599,7 @@ class BetService extends BaseService
                 BalanceLogService::addLog($v['member_id'], $profit, $balance, ($balance + $profit), '中奖', $v['id'], '');
             } else {
                 if ($k + 1 <= $realNoticeNum) {
-                    $text .= "私聊下注 【******" . $lastStr . "】{$v['amount']} {$v['profit']} -{$v['amount']}\n";
+                    $text .= "{$v['keywords']} 【******" . $lastStr . "】{$v['amount']} {$v['profit']} -{$v['amount']}\n";
                     $bet_num++;
                 }
             }
@@ -644,11 +644,11 @@ class BetService extends BaseService
 
                 $yl = $profit - $v['amount'];
                 if ($k + 1 <= $rand_num) {
-                    $text .= "私聊下注 【" . $lastStr . "】 {$v['amount']} {$profit} {$yl}\n";
+                    $text .= "{$v['keywords']} 【" . $lastStr . "】 {$v['amount']} {$profit} {$yl}\n";
                 }
             } else {
                 if ($k + 1 <= $rand_num) {
-                    $text .= "私聊下注 【" . $lastStr . "】 {$v['amount']} {$v['profit']} -{$v['amount']}\n";
+                    $text .= "{$v['keywords']} 【" . $lastStr . "】 {$v['amount']} {$v['profit']} -{$v['amount']}\n";
                 }
             }