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