From 25ec474c1cf8bd9b86e5d867da2c09916845f694 Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Thu, 28 Jan 2021 15:39:18 +0800 Subject: [PATCH] =?UTF-8?q?1.28=E5=8A=9F=E8=83=BD=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Admin/Controller/UserController.class.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Application/Admin/Controller/UserController.class.php b/Application/Admin/Controller/UserController.class.php index c935e31fa..a399ad504 100644 --- a/Application/Admin/Controller/UserController.class.php +++ b/Application/Admin/Controller/UserController.class.php @@ -394,13 +394,13 @@ class UserController extends AdminController } } - if (strtotime($_POST['apply_leave_time'])error('申请离职时间不能早于当前时间!'); - } - - if (strtotime($_POST['leave_time'])error('离职时间不能早于当前时间!'); - } +// if (strtotime($_POST['apply_leave_time'])error('申请离职时间不能早于当前时间!'); +// } +// +// if (strtotime($_POST['leave_time'])error('离职时间不能早于当前时间!'); +// } if (strtotime($_POST['apply_leave_time'])>strtotime($_POST['leave_time'])) { $this->error('申请离职时间不得晚于离职时间!');