Merge pull request '1.28功能提交' (#126) from feature/add_item into release

Reviewed-on: http://8.136.139.249:3000/wmtx/platform/pulls/126
master
郑永星 4 years ago
commit 8d9ca939d6

@ -394,13 +394,13 @@ class UserController extends AdminController
} }
} }
if (strtotime($_POST['apply_leave_time'])<time()) { // if (strtotime($_POST['apply_leave_time'])<time()) {
$this->error('申请离职时间不能早于当前时间!'); // $this->error('申请离职时间不能早于当前时间!');
} // }
//
if (strtotime($_POST['leave_time'])<time()) { // if (strtotime($_POST['leave_time'])<time()) {
$this->error('离职时间不能早于当前时间!'); // $this->error('离职时间不能早于当前时间!');
} // }
if (strtotime($_POST['apply_leave_time'])>strtotime($_POST['leave_time'])) { if (strtotime($_POST['apply_leave_time'])>strtotime($_POST['leave_time'])) {
$this->error('申请离职时间不得晚于离职时间!'); $this->error('申请离职时间不得晚于离职时间!');

Loading…
Cancel
Save