fix: Pro 路单查询补查 luck_six/dragon_seven/panda_eight

PC/Game 前端路单走的是 Pro 的 deal/waybill API,不是 Socket 的
This commit is contained in:
testadmin
2026-05-02 00:06:07 +08:00
parent 3997bbd3cb
commit 0186f561c4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -245,7 +245,7 @@ class Index Extends Common{
// 验证靴ID
if($boot_id > 0){
$ns = Db::name($numberTabTable)->where(array('game_id' => $game_id, 'boot_id' => $boot_id, 'bet_status' => 3))->field('result,pair')->order('start_time ASC,id ASC')->select();
$ns = Db::name($numberTabTable)->where(array('game_id' => $game_id, 'boot_id' => $boot_id, 'bet_status' => 3))->field('result,pair,luck_six,dragon_seven,panda_eight')->order('start_time ASC,id ASC')->select();
if($forecast == 1){
// 庄问路
$ns[] = array('result'=>1,'pair'=>0);
+1 -1
View File
@@ -275,7 +275,7 @@ function waybill($ns){
$showRoadLocation = array();
foreach($showRoad as $k => $v){
foreach($v as $key => $val){
$pushData = array('show_x' => $k + 1, 'show_y' =>$key + 1, 'result' => $val['result'], 'pair' => $val['pair']);
$pushData = array('show_x' => $k + 1, 'show_y' =>$key + 1, 'result' => $val['result'], 'pair' => $val['pair'], 'luck_six' => $val['luck_six'] ?? 0, 'dragon_seven' => $val['dragon_seven'] ?? 0, 'panda_eight' => $val['panda_eight'] ?? 0);
array_push($showRoadLocation,$pushData);
}
}