From 414d36c373580a794f86b80a08297f684fb79648 Mon Sep 17 00:00:00 2001 From: zyx Date: Wed, 5 Feb 2020 17:27:14 +0800 Subject: [PATCH] =?UTF-8?q?cp=E5=88=86=E6=88=90=E6=AF=94=E4=BE=8B=E6=96=B9?= =?UTF-8?q?=E6=B3=95=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Common/extend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Admin/Common/extend.php b/Application/Admin/Common/extend.php index 78b0cfe18..3549679be 100644 --- a/Application/Admin/Common/extend.php +++ b/Application/Admin/Common/extend.php @@ -2044,7 +2044,7 @@ function getGameCpRadio($game_id,$amount,$type) { if (!$type) { - $data = M('cp_game_ratio','tab_')->where(['game_id'=>$game_id])->order('begin_total_amount desc')->find(); + $data = M('cp_game_ratio','tab_')->where(['game_id'=>$game_id])->order('begin_total_amount asc')->find(); } else { //取两条 $ladderData = M('cp_game_ratio','tab_')->where(['game_id'=>$game_id,'begin_total_amount'=>['elt',$amount]])->limit(0,2)->order('begin_total_amount desc')->select();