From 348cd174d1a82334780c5f7d3f8cb8962809f9ad Mon Sep 17 00:00:00 2001 From: aaronchen2k <462826@qq.com> Date: Wed, 15 Jan 2020 18:57:43 +0800 Subject: [PATCH] update cron->ajaxExec method to support params --- module/cron/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/cron/model.php b/module/cron/model.php index e1cf32e1f6..1296b676d5 100644 --- a/module/cron/model.php +++ b/module/cron/model.php @@ -33,7 +33,7 @@ class cronModel extends model public function getCrons($params = '') { return $this->dao->select('*')->from(TABLE_CRON) - ->where('id=16') + ->where('1=1') ->beginIF(strpos($params, 'nostop') !== false)->andWhere('status')->ne('stop')->fi() ->fetchAll('id'); }