diff --git a/Application/Admin/Controller/TestWhiteListController.class.php b/Application/Admin/Controller/TestWhiteListController.class.php index 51fb4c504..6182e81bf 100644 --- a/Application/Admin/Controller/TestWhiteListController.class.php +++ b/Application/Admin/Controller/TestWhiteListController.class.php @@ -167,6 +167,8 @@ class TestWhiteListController extends ThinkController $data['add_user'] = $_SESSION['onethink_admin']['user_auth']['username']; $data['create_ime'] = time(); + M('user','tab_')->where(array('id'=>$data['user_id']))->save(['check_status'=>$data['show_status']]); + $whiteList = M('test_white_list','tab_')->add($data); if($whiteList) { //操作日志