新增百家乐游戏:①数据库表+模型 ②OpenBaccaratRoundJob开局(广播+公屏) ③CloseBaccaratRoundJob结算(摇骰+赔付+CAS防并发) ④BaccaratController下注接口 ⑤前端弹窗(倒计时/骰子动画/历史趋势) ⑥调度器每分钟检查开局 ⑦GameConfig管控开关
This commit is contained in:
@@ -101,6 +101,19 @@ export function initChat(roomId) {
|
||||
window.dispatchEvent(
|
||||
new CustomEvent("chat:holiday.started", { detail: e }),
|
||||
);
|
||||
})
|
||||
// ─── 百家乐:开局 & 结算 ──────────────────────────────────
|
||||
.listen(".baccarat.opened", (e) => {
|
||||
console.log("百家乐开局:", e);
|
||||
window.dispatchEvent(
|
||||
new CustomEvent("chat:baccarat.opened", { detail: e }),
|
||||
);
|
||||
})
|
||||
.listen(".baccarat.settled", (e) => {
|
||||
console.log("百家乐结算:", e);
|
||||
window.dispatchEvent(
|
||||
new CustomEvent("chat:baccarat.settled", { detail: e }),
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user