From e31138b5a5a5fe3dff3093ece8a75144effc888f Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Mon, 9 Mar 2020 16:38:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E7=99=BD=E5=90=8D=E5=8D=95bu?= =?UTF-8?q?g=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Controller/TestWhiteListController.class.php | 2 ++ 1 file changed, 2 insertions(+) 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) { //操作日志