From 0186f561c4ed016da8ef848485d171da21004b9d Mon Sep 17 00:00:00 2001 From: testadmin Date: Sat, 2 May 2026 00:06:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20Pro=20=E8=B7=AF=E5=8D=95=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E8=A1=A5=E6=9F=A5=20luck=5Fsix/dragon=5Fseven/panda?= =?UTF-8?q?=5Feight?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PC/Game 前端路单走的是 Pro 的 deal/waybill API,不是 Socket 的 --- application/deal/controller/Index.php | 2 +- application/helper.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/application/deal/controller/Index.php b/application/deal/controller/Index.php index c100080..9f3eba8 100644 --- a/application/deal/controller/Index.php +++ b/application/deal/controller/Index.php @@ -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); diff --git a/application/helper.php b/application/helper.php index 96b2c8c..2a2c1f7 100644 --- a/application/helper.php +++ b/application/helper.php @@ -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); } }