feat: 路子珠显示幸运6/龙7/熊8特殊图标
- DB: cg_number_tab 加 dragon_seven, panda_eight 列 - 后端: OpeningBaccaratService 接收并存储 dragon_seven/panda_eight - Waybill: showRoad 数据含 luck_six/dragon_seven/panda_eight - 前端 SoloPath: 绿色圆「6」=幸运6, 金色圆「7」=龙7, 蓝色圆「8」=熊8 - handle_b.js: 键盘7/8设置对应隐藏字段,opening()传参
This commit is contained in:
@@ -141,6 +141,8 @@ class OpeningBaccaratService
|
||||
$banker_pair = intval($event['banker_pair']);
|
||||
$player_pair = intval($event['player_pair']);
|
||||
$luck_six = intval($event['luck_six']);
|
||||
$dragon_seven = intval($event['dragon_seven'] ?? 0);
|
||||
$panda_eight = intval($event['panda_eight'] ?? 0);
|
||||
//处理开盘
|
||||
if($banker_pair == 1 && $player_pair == 2){
|
||||
//庄闲对
|
||||
@@ -157,7 +159,7 @@ class OpeningBaccaratService
|
||||
}
|
||||
if (!in_array($opening,[1,2,3])) return ['status' => false, 'msg' => 'opening_fail_3'];
|
||||
//开盘
|
||||
$numberTabUpdate = ['result' => $opening, 'pair' => $pair, 'luck_six' => $luck_six, 'big_small' => $big_small, 'end_time' => time(), 'bet_status' => 3];
|
||||
$numberTabUpdate = ['result' => $opening, 'pair' => $pair, 'luck_six' => $luck_six, 'dragon_seven' => $dragon_seven, 'panda_eight' => $panda_eight, 'big_small' => $big_small, 'end_time' => time(), 'bet_status' => 3];
|
||||
$newNumberTabInfo = NumberTab::next($numberTabInfo,$numberTabUpdate,$tableInfo);
|
||||
if ($newNumberTabInfo){
|
||||
$lastNumberTabInfo = array_merge($numberTabInfo,$numberTabUpdate);
|
||||
|
||||
Reference in New Issue
Block a user