From ccf2c9b4b5bb6bfffd5777842cab743e1d13741a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Mon, 1 Mar 2021 13:50:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E7=BB=B4=E6=8A=A4=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/manager/controller/UserFollow.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/manager/controller/UserFollow.php b/app/manager/controller/UserFollow.php index 2f38a36..b340c10 100644 --- a/app/manager/controller/UserFollow.php +++ b/app/manager/controller/UserFollow.php @@ -83,7 +83,8 @@ class UserFollow extends Controller if (!empty($search['last_month']['s_time'])) { $date1 = date('Y-m-d', strtotime($search['last_month']['s_time'])); $date2 = date('Y-m-d H:i:s', strtotime($search['last_month']['e_time'])); - } elseif (!empty($search['new_month']['s_time'])) { + } + if (!empty($search['new_month']['s_time'])) { $date3 = date('Y-m-d', strtotime($search['new_month']['s_time'])); $date4 = date('Y-m-d H:i:s', strtotime($search['new_month']['e_time'])); }