补充游戏开奖通知编号文案
This commit is contained in:
@@ -312,7 +312,7 @@ class CloseBaccaratRoundJob implements ShouldQueue
|
|||||||
|
|
||||||
$detail = $detailParts ? ' '.implode(' ', $detailParts) : '';
|
$detail = $detailParts ? ' '.implode(' ', $detailParts) : '';
|
||||||
|
|
||||||
$content = "🎲 {$diceStr} {$round->total_points} 点,{$resultText}。{$payoutText}{$detail}";
|
$content = "🎲 第 #{$round->id} 局开奖:{$diceStr} {$round->total_points} 点,{$resultText}。{$payoutText}{$detail}";
|
||||||
|
|
||||||
$msg = [
|
$msg = [
|
||||||
'id' => $chatState->nextMessageId((int) $round->room_id),
|
'id' => $chatState->nextMessageId((int) $round->room_id),
|
||||||
|
|||||||
@@ -246,7 +246,7 @@ class CloseHorseRaceJob implements ShouldQueue
|
|||||||
? '共派发 💰'.number_format($totalPayout).' 金币'
|
? '共派发 💰'.number_format($totalPayout).' 金币'
|
||||||
: '本场无人获奖';
|
: '本场无人获奖';
|
||||||
|
|
||||||
$content = "🏆 冠军:{$winnerName}。{$payoutText}";
|
$content = "🏆 第 #{$race->id} 场结束,冠军:{$winnerName}。{$payoutText}";
|
||||||
|
|
||||||
$msg = [
|
$msg = [
|
||||||
'id' => $chatState->nextMessageId((int) $race->room_id),
|
'id' => $chatState->nextMessageId((int) $race->room_id),
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ class OpenBaccaratRoundJob implements ShouldQueue
|
|||||||
.'onclick="event.preventDefault(); Alpine.$data(document.getElementById(\'baccarat-panel\')).openFromHall();" '
|
.'onclick="event.preventDefault(); Alpine.$data(document.getElementById(\'baccarat-panel\')).openFromHall();" '
|
||||||
.'style="margin-left:8px; padding:2px 8px; border:1px solid #7c3aed; border-radius:999px; background:#fff; color:#7c3aed; font-size:12px; font-weight:bold; cursor:pointer;">'
|
.'style="margin-left:8px; padding:2px 8px; border:1px solid #7c3aed; border-radius:999px; background:#fff; color:#7c3aed; font-size:12px; font-weight:bold; cursor:pointer;">'
|
||||||
.'快速参与</button>';
|
.'快速参与</button>';
|
||||||
$content = "🎲 开局:{$betSeconds} 秒下注,{$minBet}~{$maxBet} 金币,🔵/🟡 1:{$bigRate},💥 1:{$tripleRate},☠️ {$killText} 点收割。".$quickOpenButton;
|
$content = "🎲 第 #{$round->id} 局开局:{$betSeconds} 秒下注,{$minBet}~{$maxBet} 金币,🔵/🟡 1:{$bigRate},💥 1:{$tripleRate},☠️ {$killText} 点收割。".$quickOpenButton;
|
||||||
$msg = [
|
$msg = [
|
||||||
'id' => $chatState->nextMessageId($this->roomId),
|
'id' => $chatState->nextMessageId($this->roomId),
|
||||||
'room_id' => $this->roomId,
|
'room_id' => $this->roomId,
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ class OpenHorseRaceJob implements ShouldQueue
|
|||||||
.'onclick="event.preventDefault(); Alpine.$data(document.getElementById(\'horse-race-panel\')).openFromHall();" '
|
.'onclick="event.preventDefault(); Alpine.$data(document.getElementById(\'horse-race-panel\')).openFromHall();" '
|
||||||
.'style="margin-left:8px; padding:2px 8px; border:1px solid #d97706; border-radius:999px; background:#fff7ed; color:#b45309; font-size:12px; font-weight:bold; cursor:pointer;">'
|
.'style="margin-left:8px; padding:2px 8px; border:1px solid #d97706; border-radius:999px; background:#fff7ed; color:#b45309; font-size:12px; font-weight:bold; cursor:pointer;">'
|
||||||
.'快速参与赌马</button>';
|
.'快速参与赌马</button>';
|
||||||
$content = "🐎 开赛:{$horseList},{$betSeconds} 秒下注,".number_format($minBet).'~'.number_format($maxBet).' 金币。'.$quickOpenButton;
|
$content = "🐎 第 #{$race->id} 场开赛:{$horseList},{$betSeconds} 秒下注,".number_format($minBet).'~'.number_format($maxBet).' 金币。'.$quickOpenButton;
|
||||||
|
|
||||||
$msg = [
|
$msg = [
|
||||||
'id' => $chatState->nextMessageId($this->roomId),
|
'id' => $chatState->nextMessageId($this->roomId),
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ class RunHorseRaceJob implements ShouldQueue
|
|||||||
'room_id' => (int) $race->room_id,
|
'room_id' => (int) $race->room_id,
|
||||||
'from_user' => '系统传音',
|
'from_user' => '系统传音',
|
||||||
'to_user' => '大家',
|
'to_user' => '大家',
|
||||||
'content' => "🏇 比赛开始:{$horseList}",
|
'content' => "🏇 第 #{$race->id} 场比赛开始:{$horseList}",
|
||||||
'is_secret' => false,
|
'is_secret' => false,
|
||||||
'font_color' => '#16a34a',
|
'font_color' => '#16a34a',
|
||||||
'action' => '大声宣告',
|
'action' => '大声宣告',
|
||||||
|
|||||||
@@ -450,7 +450,7 @@ class LotteryService
|
|||||||
|
|
||||||
$detailStr = $details ? ' '.implode(' | ', $details) : '';
|
$detailStr = $details ? ' '.implode(' | ', $details) : '';
|
||||||
|
|
||||||
$content = "🎟️ {$issue->issue_no} 期:{$drawNums} {$line1}{$detailStr}";
|
$content = "🎟️ 第 #{$issue->issue_no} 期开奖:{$drawNums} {$line1}{$detailStr}";
|
||||||
|
|
||||||
$this->pushSystemMessage($content, (int) $issue->room_id);
|
$this->pushSystemMessage($content, (int) $issue->room_id);
|
||||||
|
|
||||||
@@ -469,7 +469,7 @@ class LotteryService
|
|||||||
private function broadcastSuperIssue(LotteryIssue $issue): void
|
private function broadcastSuperIssue(LotteryIssue $issue): void
|
||||||
{
|
{
|
||||||
$pool = number_format($issue->pool_amount);
|
$pool = number_format($issue->pool_amount);
|
||||||
$content = "🎊 超级期 {$issue->issue_no}:已连续 {$issue->no_winner_streak} 期无一等奖,奖池 💰 {$pool},{$issue->draw_at?->format('H:i')} 开奖。";
|
$content = "🎊 第 #{$issue->issue_no} 期超级期:已连续 {$issue->no_winner_streak} 期无一等奖,奖池 💰 {$pool},{$issue->draw_at?->format('H:i')} 开奖。";
|
||||||
|
|
||||||
$this->pushSystemMessage($content, (int) $issue->room_id);
|
$this->pushSystemMessage($content, (int) $issue->room_id);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user