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); } }