seven vor 1 Woche
Ursprung
Commit
da2ddeb4a6
1 geänderte Dateien mit 5 neuen und 4 gelöschten Zeilen
  1. 5 4
      app/Services/BetService.php

+ 5 - 4
app/Services/BetService.php

@@ -559,6 +559,7 @@ class BetService extends BaseService
         $data = [];
         $text = $issue_no . "期开奖结果 \n";
         $text .= "-----本期开奖账单----- \n";
+        $text .=" 下注类型 用户 投注金额 中奖金额 盈亏 \n";
         $betNoticeNum = Config::where('field', 'bet_notice_num')->first()->val;
         $betNoticeNum = explode(',', $betNoticeNum);
         $betNoticeMini = $betNoticeNum[0] ?? 26;
@@ -586,7 +587,7 @@ class BetService extends BaseService
                 $yl = $profit - $v['amount'];
                 if ($k + 1 <= $realNoticeNum) {
 
-                    $text .= "私聊下注 【" . $lastStr . "】 {$yl}\n";
+                    $text .= "私聊下注 【" . $lastStr . "】{$v['amount']} {$profit} {$yl}\n";
                     $bet_num++;
                 }
                 // 结算
@@ -598,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']}\n";
+                    $text .= "私聊下注 【******" . $lastStr . "】{$v['amount']} {$v['profit']} -{$v['amount']}\n";
                     $bet_num++;
                 }
             }
@@ -643,11 +644,11 @@ class BetService extends BaseService
 
                 $yl = $profit - $v['amount'];
                 if ($k + 1 <= $rand_num) {
-                    $text .= "私聊下注 【" . $lastStr . "】 {$yl}\n";
+                    $text .= "私聊下注 【" . $lastStr . "】 {$v['amount']} {$profit} {$yl}\n";
                 }
             } else {
                 if ($k + 1 <= $rand_num) {
-                    $text .= "私聊下注 【" . $lastStr . "】 -{$v['amount']}\n";
+                    $text .= "私聊下注 【" . $lastStr . "】 {$v['amount']} {$v['profit']} -{$v['amount']}\n";
                 }
             }