From a4c8b9c2aa17a0be93b8f490126b2e2fe19d9d77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=B9=8F?= Date: Mon, 5 Jul 2021 10:49:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=90=BA=E7=A8=8B=E6=8E=A5=E5=8F=A3=E7=9A=84?= =?UTF-8?q?=E9=A2=84=E5=94=AE=E6=9C=9F=E4=B9=9F=E6=94=B9=E4=B8=BA15?= =?UTF-8?q?=E5=A4=A9=EF=BC=8C=E4=BD=86=E6=98=AF=E6=8E=A5=E5=8F=A3=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E4=B8=8D=E6=AD=A3=E5=B8=B8=EF=BC=8C=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../third_party/trainsystem/controllers/innerTrainSearch.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/third_party/trainsystem/controllers/innerTrainSearch.php b/application/third_party/trainsystem/controllers/innerTrainSearch.php index 99302869..0244e9f6 100644 --- a/application/third_party/trainsystem/controllers/innerTrainSearch.php +++ b/application/third_party/trainsystem/controllers/innerTrainSearch.php @@ -220,7 +220,8 @@ class innerTrainSearch extends CI_Controller{ $cachedata = false; $now_time = time(); $differ = (strtotime($date) - $now_time) / 86400; - if($differ > 29){ + //屏蔽掉超过预售期的搜索,提高速度,2021-7-5 zp修改预售期为15天,不再是30天 + if($differ > 14){ $date = date('Y-m-d',strtotime('+7day')); $iseven = true; }