From 55ee58c37286e181cc94726616ee1106d0104839 Mon Sep 17 00:00:00 2001 From: cloud Date: Thu, 31 Dec 2020 12:56:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=AE=A2=E5=8D=95=E5=BE=AE?= =?UTF-8?q?=E4=BF=A1=E6=8F=90=E9=86=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/timing.class.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/web/timing.class.php b/web/timing.class.php index 5d33d91..913ba1b 100644 --- a/web/timing.class.php +++ b/web/timing.class.php @@ -54,12 +54,10 @@ class timing extends appweb global $_M, $_YW; $this->webase = load::own_class('../met_wechat/include/class/LW_BASE', 'new'); //当天日期时间 - $curdate = date('Y-m-d', $this->time); - $strdate = strtotime($curdate); $num = ['daya' => 0, 'dayb' => 0, 'dayc' => 0]; //查询到期订单 //查询的是设置的提醒天数,以及订单结束日期的前后3天数 - $where = " AND endtime = CURDATE() AND noticeday >= 0 "; + $where = " endtime = CURDATE() AND noticeday >= 0 "; $noticeday = $this->tsql->table('noticeday')->where($where)->all(); foreach ($noticeday as $val) { //延时2秒 // 通知天数 noticeday