From 564578aefb93ab565f97146077c7e791ce57d426 Mon Sep 17 00:00:00 2001 From: AaronLiu Date: Sat, 16 Feb 2019 18:14:38 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"order=20=E5=AD=97=E6=AE=B5=E5=90=8D?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=88=86=E9=9A=94=E7=AC=A6"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/index/model/CronHandler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/index/model/CronHandler.php b/application/index/model/CronHandler.php index 053da87a..d33062f5 100644 --- a/application/index/model/CronHandler.php +++ b/application/index/model/CronHandler.php @@ -17,7 +17,7 @@ class CronHandler extends Model{ public $notifiedUid = []; public function __construct(){ - $this->cornTasks = Db::name('corn')->where('enable',1)->order('`rank` desc')->select(); + $this->cornTasks = Db::name('corn')->where('enable',1)->order('rank desc')->select(); $this->timeNow = time(); } @@ -123,4 +123,4 @@ class CronHandler extends Model{ } } -?> +?> \ No newline at end of file