From d5d555bde2e89c7429d29bd76e5823d048d2e99b Mon Sep 17 00:00:00 2001 From: chenxiaojun <956334972@qq.com> Date: Tue, 19 Nov 2019 17:49:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A8=E5=B9=BF=E5=B9=B3=E5=8F=B0->=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E7=AE=A1=E7=90=86->=E8=AE=A2=E5=8D=95=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2|=E6=B3=A8=E5=86=8C=E6=98=8E=E7=BB=86--=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Home/Controller/QueryController.class.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Application/Home/Controller/QueryController.class.php b/Application/Home/Controller/QueryController.class.php index 0d006d0ea..84609cca9 100644 --- a/Application/Home/Controller/QueryController.class.php +++ b/Application/Home/Controller/QueryController.class.php @@ -170,9 +170,9 @@ class QueryController extends BaseController $parameter['user_account'] = $userAccount; $parameter['order_number'] = $orderNumber; $parameter['own_id'] = $ownId; - $parameter['level_promote_2'] = intval(I('level_promote_2', 0)); - $parameter['level_promote_3'] = intval(I('level_promote_3', 0)); - $parameter['level_promote_4'] = intval(I('level_promote_4', 0)); + $parameter['level_promote_2'] = $levelPromote[0]; + $parameter['level_promote_3'] = $levelPromote[1]; + $parameter['level_promote_4'] = $levelPromote[2]; !isset($_REQUEST['pay_way']) || $parameter['pay_way'] = I('pay_way'); $serverData = $this->getServer(I('relation_game_id'), I('sdk_version')); @@ -269,9 +269,9 @@ class QueryController extends BaseController $parameter['account'] = $account; empty($id) || $parameter['id'] = $id; $parameter['own_id'] = $ownId; - $parameter['level_promote_2'] = intval(I('level_promote_2', 0)); - $parameter['level_promote_3'] = intval(I('level_promote_3', 0)); - $parameter['level_promote_4'] = intval(I('level_promote_4', 0)); + $parameter['level_promote_2'] = $levelPromote[0]; + $parameter['level_promote_3'] = $levelPromote[1]; + $parameter['level_promote_4'] = $levelPromote[2]; $page = set_pagination($count, $row, $parameter); if ($page) { $this->assign('_page', $page);