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

Reviewed-on: http://8.136.139.249:3000/wmtx/platform/pulls/128
master
郑永星 4 years ago
commit a5ed9cf3cf

@ -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