diff --git a/Application/Admin/Controller/QueryController.class.php b/Application/Admin/Controller/QueryController.class.php index f2718ef75..0b3f21d51 100644 --- a/Application/Admin/Controller/QueryController.class.php +++ b/Application/Admin/Controller/QueryController.class.php @@ -1352,6 +1352,7 @@ class QueryController extends ThinkController foreach ($gameRatios as $gameId => $gameRatio) { $gameName = D('game')->where(array('id' => $gameId))->getField('game_name'); foreach ($gameRatio as $list) { + $list['selle_ratio'] = $list['selle_ratio'] ?? '0.00'; $records[] = [ 'settlement_time' => "{$list['begin_time']} - {$list['end_time']}", 'game_name' => $gameName ?? '未知',