1.28功能提交

master
zhengyongxing 4 years ago
parent 338c0369d1
commit a1c809d7eb

@ -478,6 +478,13 @@ class UserController extends AdminController
"url"=>U("User/index",array("nickname"=>$_POST['username']))
));
if ((strtotime($_POST['leave_time'])+86399)<time()) {
$Member->where($map)->save(['work_status'=>1]);
} else {
$Member->where($map)->save(['work_status'=>0]);
}
$this->success('修改成功!', U('User/index'));
} else {
$this->error('修改失败!', U('User/index'));

Loading…
Cancel
Save