From 63d947f7549e5d6575d0284617a261561a568d9a Mon Sep 17 00:00:00 2001 From: chenxiaojun <956334972@qq.com> Date: Tue, 14 Jan 2020 11:28:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A8=E5=B9=BF=E6=8F=90=E7=8E=B0--=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Controller/QueryController.class.php | 1 + 1 file changed, 1 insertion(+) 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 ?? '未知',